Google Analytics icon

Google Analytics

Use the Google Analytics API

Actions236

Admin (V1Beta) - Account Summary → List Account Summaries

AI-generated

Overview

This node interacts with the Google Analytics API, specifically supporting the "Admin (V1Beta) - Account Summary" resource to list account summaries accessible by the authenticated user. It is useful for retrieving a summary overview of all Google Analytics accounts that the user has access to.

Common scenarios include:

  • Fetching a list of all Google Analytics accounts for reporting or management purposes.
  • Integrating account summary data into workflows for auditing or synchronization.
  • Automating account-related tasks based on the retrieved summaries.

Example use case:

  • A marketing team wants to automatically retrieve and display all their Google Analytics accounts in a dashboard. This node can be used to fetch those summaries programmatically.

Properties

Name Meaning
Query Parameters Collection of optional parameters to filter or paginate the list of account summaries. Options include:
- Calculated Metric ID: The ID to use for the calculated metric.
- Entity: Request at property or account level.
- Filter: Expression to filter results.
- Names: Names of access bindings to retrieve.
- Page Size: Maximum number of report tasks to return.
- Page Token: Continuation token for next page.
- Show Deleted: Include soft-deleted ("trashed") properties.
- Universal Analytics Property ID: UA property to look up connected GA4 property.
- Update Mask: List of fields to update (snake case).

Output

The node outputs a JSON array where each item represents an account summary object as returned by the Google Analytics Admin API. Each summary includes details about an account accessible by the caller, such as account identifiers and metadata.

No binary data output is produced by this operation.

Dependencies

  • Requires an OAuth2 credential configured for Google Analytics API access.
  • The node uses the Google Analytics Admin API endpoint https://analyticsadmin.googleapis.com/v1beta/accountSummaries.
  • Proper permissions/scopes must be granted to the OAuth2 credential to list account summaries.

Troubleshooting

  • Missing Credentials Error: If the node throws an error about missing credentials, ensure that a valid Google Analytics API OAuth2 credential is configured and selected.
  • Account ID Required Errors: For other operations (not relevant here), errors may occur if required IDs are not provided. For this operation, no account ID is needed.
  • API Rate Limits: If many requests are made rapidly, Google API rate limits might cause errors. Implement retries or reduce request frequency.
  • Invalid Query Parameters: Providing unsupported or malformed query parameters may result in API errors. Validate parameters before use.

Links and References

Discussion