Actions84
- Admin (V1Alpha) - Account Actions
- Admin (V1Alpha) - Account Access Binding Actions
- Admin (V1Alpha) - Account Summary Actions
- Admin (V1Alpha) - AdSense Link Actions
- Admin (V1Alpha) - Audience Actions
- Admin (V1Alpha) - BigQuery Link Actions
- Admin (V1Alpha) - Calculated Metric Actions
- Admin (V1Alpha) - Channel Group Actions
- Admin (V1Alpha) - Custom Dimension Actions
- Admin (V1Alpha) - Custom Metric Actions
- Admin (V1Alpha) - Data Stream Actions
- Admin (V1Alpha) - Display & Video 360 Advertiser Link Actions
- Admin (V1Alpha) - Display & Video 360 Advertiser Link Proposal Actions
- Approve Display & Video 360 Advertiser Link Proposal
- Cancel Display & Video 360 Advertiser Link Proposal
- Create Display & Video 360 Advertiser Link Proposal
- Delete Display & Video 360 Advertiser Link Proposal
- Get Display & Video 360 Advertiser Link Proposal
- List Display & Video 360 Advertiser Link Proposals
- Admin (V1Alpha) - Event Create Rule Actions
- Admin (V1Alpha) - Event Edit Rule Actions
Overview
This node interacts with the Google Analytics API, specifically targeting the "Admin (V1Alpha) - Account Access Binding" resource to perform batch retrieval of account access bindings. It allows users to fetch information about multiple access bindings associated with a specified Google Analytics account in a single request.
Common scenarios where this node is beneficial include:
- Managing user permissions and access controls across multiple accounts.
- Auditing or reporting on who has access to specific Google Analytics accounts.
- Automating bulk retrieval of access binding data for integration with other systems or workflows.
For example, an organization might use this node to retrieve all access bindings for a set of accounts to generate a consolidated report of user permissions.
Properties
| Name | Meaning |
|---|---|
| Account ID | The unique identifier of the Google Analytics account for which to retrieve access bindings. |
| Query Parameters | Optional parameters to filter or paginate the results. Includes: |
| - Calculated Metric ID: ID for a calculated metric. | |
| - Entity: Level of data access report (property or account level). | |
| - 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: UA property to look up connected GA4 property. | |
| - Update Mask: List of fields to update (snake case). |
Output
The node outputs a JSON array containing the retrieved access binding objects from the Google Analytics API. Each object represents an access binding with details such as user permissions and roles within the specified account.
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 endpoint
https://analyticsadmin.googleapis.com/v1alpha. - Proper permissions on the Google Analytics account are necessary to retrieve access bindings.
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 "Account ID is required" indicate missing mandatory input. Verify that the Account ID property is provided.
- API Request Failures: Errors returned from the Google Analytics API will be surfaced with messages prefixed by "Error calling Google Analytics API." Check the error message and stack trace for details.
- Pagination Issues: When retrieving large sets of access bindings, use the Page Token and Page Size query parameters to handle pagination correctly.