Google Analytics icon

Google Analytics

Use the Google Analytics API

Actions236

Admin (V1Alpha) - Expanded Data Set → List Expanded Data Sets

AI-generated

Overview

This node interacts with the Google Analytics API, specifically targeting the "Admin (V1Alpha) - Expanded Data Set" resource to list expanded data sets within a property. It allows users to retrieve detailed information about expanded data sets configured in their Google Analytics properties.

Common scenarios where this node is beneficial include:

  • Auditing or reviewing all expanded data sets associated with a specific Google Analytics property.
  • Automating reporting workflows that require metadata about expanded data sets.
  • Integrating expanded data set information into broader analytics or data management pipelines.

For example, a user might want to list all expanded data sets for a given property ID to monitor custom data configurations or to synchronize these settings with other systems.

Properties

Name Meaning
Property ID The identifier of the Google Analytics property for which to list expanded data sets.
Query Parameters Optional parameters to filter or paginate the results. Includes:
- Calculated Metric ID: Filter by calculated metric ID.
- Entity: Specify data access report level (property or account).
- Filter: Expression to filter results.
- Names: Names of access bindings to retrieve.
- Page Size: Maximum number of results to return (default 10).
- Page Token: Token for fetching next page of results.
- Show Deleted: Whether to include soft-deleted ("trashed") properties (default true).
- Universal Analytics Property ID: Lookup connected GA4 property.
- Update Mask: List of fields to update (snake case).

Output

The node outputs a JSON array where each item represents an expanded data set object as returned by the Google Analytics Admin API. The structure corresponds to the API's response for listing expanded data sets under a property, typically including details such as:

  • Expanded Data Set ID
  • Display name and description
  • Configuration details relevant to the expanded data set

No binary data output is involved.

Dependencies

  • Requires valid Google Analytics API OAuth2 credentials configured in n8n.
  • The node uses the Google Analytics Admin API v1alpha endpoint (https://analyticsadmin.googleapis.com/v1alpha).
  • Proper permissions on the Google Analytics account/property are necessary to list expanded data sets.

Troubleshooting

  • Missing Credentials Error: If the node throws "Missing Google Analytics API Credentials," ensure that OAuth2 credentials for Google Analytics API are properly set up and selected.
  • Required Parameter Errors: Errors like "Property ID is required" indicate that the mandatory Property ID input was not provided. Make sure to specify it.
  • API Request Failures: Errors from the Google Analytics API may occur due to insufficient permissions, invalid IDs, or network issues. Review the error message for details.
  • Pagination Handling: If many expanded data sets exist, use Page Size and Page Token query parameters to paginate through results.

Links and References


This summary focuses on the "Admin (V1Alpha) - Expanded Data Set" resource and the "List Expanded Data Sets" operation as requested.

Discussion