Google Analytics icon

Google Analytics

Use the Google Analytics API

Actions236

Admin (V1Alpha) - SKAdNetwork Conversion Value Schema → List SKAdNetwork Conversion Value Schemas

AI-generated

Overview

This node interacts with the Google Analytics API, specifically targeting the Admin (V1Alpha) resource for SKAdNetwork Conversion Value Schemas. The "List SKAdNetwork Conversion Value Schemas" operation retrieves a list of SKAdNetwork conversion value schemas associated with a specified iOS data stream within a Google Analytics property.

This node is useful when you want to programmatically access and manage SKAdNetwork conversion value schemas, which are used to measure app install campaigns on iOS devices via Apple's SKAdNetwork framework. For example, marketers or analysts can use this node to fetch all conversion value schemas configured for a particular data stream to audit or report on their mobile attribution setup.

Properties

Name Meaning
Property ID The identifier of the Google Analytics property that contains the data stream.
Data Stream ID The identifier of the data stream (iOS app) within the property for which to list schemas.
Query Parameters Optional parameters to filter or paginate the results. Includes options like page size, filter expressions, etc.

The Query Parameters collection supports these fields (among others):

  • Calculated Metric ID: ID for a calculated metric.
  • Entity: Level of data access report (property or account).
  • Filter: Expression to filter results.
  • Names: Names of access bindings to retrieve.
  • Page Size: Maximum number of items to return.
  • Page Token: Token for fetching next page.
  • Show Deleted: Whether to include soft-deleted properties.
  • Universal Analytics Property ID: UA property to look up connected GA4 property.
  • Update Mask: List of fields to update.

Output

The output is a JSON array where each item represents a SKAdNetwork conversion value schema object as returned by the Google Analytics API. Each schema object includes details about the conversion value schema configuration for the specified data stream.

No binary data output is involved in this operation.

Dependencies

  • Requires an OAuth2 credential for Google Analytics API authentication.
  • 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 list SKAdNetwork conversion value schemas.

Troubleshooting

  • Missing Credentials Error: If the node throws "Missing Google Analytics API Credentials," ensure that valid OAuth2 credentials for Google Analytics API are configured in n8n.
  • Required Parameter Errors: Errors like "Property ID is required" or "Data Stream ID is required" indicate missing mandatory inputs. Provide these IDs to proceed.
  • API Request Failures: Errors from the Google Analytics API may occur due to insufficient permissions, invalid IDs, or network issues. Check the error message for details.
  • Pagination Handling: If many schemas exist, use the pageSize and pageToken query parameters to paginate through results.

Links and References


This summary covers the static analysis of the node's execute method for the "List SKAdNetwork Conversion Value Schemas" operation under the Admin (V1Alpha) resource.

Discussion