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 supporting a wide range of administrative and data management operations. The selected resource "Admin (V1Alpha) - Account Access Binding" with the operation "Batch Create Account Access Bindings" allows users to create multiple access bindings for an account in a single batch request.
This is useful when managing user permissions or roles across Google Analytics accounts, enabling bulk assignment of access rights efficiently. For example, an organization onboarding several team members can batch-create their access bindings to an account instead of creating them one by one.
Properties
Name | Meaning |
---|---|
Account ID | The unique identifier of the Google Analytics account where access bindings will be created. |
Query Parameters | Optional parameters to customize the API request, including filters, pagination, and others. |
Request Body | JSON object containing the details of the access bindings to be created in batch. |
Details on Query Parameters options (if used):
- Calculated Metric ID: ID for calculated metrics.
- Entity: Level of data access report (property or account).
- Filter: Expression to filter results.
- Names: Names of access bindings to retrieve.
- Page Size: Max number of report tasks to return.
- Page Token: Token for fetching next page.
- Show Deleted: Include soft-deleted 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 element corresponds to the response from the Google Analytics API for the batch creation request. This typically includes information about the newly created access bindings such as their IDs, roles, and associated users.
No binary data output is produced by this node.
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 create 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 in n8n.
- Required Parameter Errors: Errors like "Account ID is required" indicate missing mandatory inputs; verify all required fields are filled.
- API Errors: Errors returned from the Google Analytics API will be wrapped and shown with the message prefix "Error calling Google Analytics API." Check the error details for issues like permission denied, invalid request body, or quota limits.
- JSON Parsing Errors: Ensure the Request Body JSON is well-formed and valid.