Google Analytics icon

Google Analytics

Use the Google Analytics API

Actions236

Admin (V1Alpha) - SKAdNetwork Conversion Value Schema → Create SKAdNetwork Conversion Value Schema

AI-generated

Overview

This node integrates with the Google Analytics API, specifically supporting a wide range of administrative and data management operations. For the selected resource Admin (V1Alpha) - SKAdNetwork Conversion Value Schema and operation Create SKAdNetwork Conversion Value Schema, it allows users to create a new SKAdNetwork conversion value schema within a specified iOS data stream under a Google Analytics property.

This functionality is beneficial for marketers and app developers who want to configure and manage SKAdNetwork conversion schemas to better track and attribute iOS app install campaigns in compliance with Apple's privacy framework.

Example use case:

  • Creating a new SKAdNetwork conversion value schema for an iOS app's data stream to define how conversion values are interpreted and reported.

Properties

Name Meaning
Property ID The identifier of the Google Analytics property under which the SKAdNetwork schema will be created.
Data Stream ID The identifier of the iOS data stream within the property where the SKAdNetwork conversion value schema applies.
Query Parameters Optional additional parameters to customize the request (e.g., filtering, pagination).
Request Body JSON object containing the details of the SKAdNetwork conversion value schema to create.

Output

The node outputs the JSON response from the Google Analytics API after creating the SKAdNetwork conversion value schema. This typically includes the details of the newly created schema such as its ID, configuration, and metadata.

If the API returns binary data (not typical for this operation), it would represent raw content related to the schema, but this operation primarily deals with JSON data.

Dependencies

  • Requires valid Google Analytics API OAuth2 credentials configured in n8n.
  • The node uses the Google Analytics Admin API endpoint https://analyticsadmin.googleapis.com/v1alpha.
  • Proper permissions on the Google Analytics property and data stream are necessary to create SKAdNetwork conversion value schemas.

Troubleshooting

  • Missing Credentials Error: If the node throws "Missing Google Analytics API Credentials," ensure that OAuth2 credentials for Google Analytics are properly set up in n8n.
  • Required Parameter Errors: Errors like "Property ID is required" or "Data Stream ID is required" indicate missing mandatory inputs; verify these fields are correctly filled.
  • API Errors: Any error returned by the Google Analytics API will be wrapped and shown with the message prefix "Error calling Google Analytics API." Check the detailed error message and stack trace for specifics.
  • Invalid JSON in Request Body: Ensure the JSON provided in the Request Body field is well-formed and matches the expected schema structure.

Links and References


This summary focuses on the "Create SKAdNetwork Conversion Value Schema" operation under the "Admin (V1Alpha) - SKAdNetwork Conversion Value Schema" resource, describing its purpose, inputs, outputs, dependencies, and common troubleshooting points based on static analysis of the node's source code and provided properties.

Discussion