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 integrates with the Google Analytics API, specifically supporting a wide range of administrative and data management operations across different versions (v1alpha, v1beta) and data types. For the selected resource "Admin (V1Alpha) - Custom Dimension" and operation "Create Custom Dimension," the node allows users to create a new custom dimension within a specified Google Analytics property.
Use cases include:
- Adding custom dimensions to track additional user or session attributes not available by default in Google Analytics.
- Enhancing analytics reports by defining tailored dimensions that fit specific business needs.
- Automating the creation of custom dimensions as part of a larger workflow for managing Google Analytics properties.
Example: A marketing team wants to track user membership levels (e.g., Silver, Gold, Platinum) as a custom dimension to segment reports accordingly. This node can automate creating that custom dimension in the relevant GA property.
Properties
Name | Meaning |
---|---|
Property ID | The identifier of the Google Analytics property where the custom dimension will be created. |
Query Parameters | Optional parameters to filter or modify the request; includes options like page size, filters, etc. (not typically used for create operation). |
Request Body | JSON object containing the details of the custom dimension to create, such as name, scope, description, etc. |
Output
The output is a JSON array containing the response from the Google Analytics API after creating the custom dimension. This typically includes the full representation of the newly created custom dimension resource, including its unique ID and configured attributes.
No binary data output is involved.
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 account/property are necessary to create custom dimensions.
Troubleshooting
- Missing Credentials Error: If the node throws "Missing Google Analytics API Credentials," ensure that a valid OAuth2 credential with appropriate scopes is configured in n8n.
- Required Parameter Errors: Errors like "Property ID is required" indicate that the mandatory property identifier was not provided. Verify that the Property ID input is correctly set.
- API Errors: Any error returned by the Google Analytics API will be wrapped and shown with the message prefix "Error calling Google Analytics API." Check the detailed error message and stack trace for specifics, such as permission issues or invalid request body.
- Invalid JSON in Request Body: Ensure the JSON provided in the Request Body field is well-formed and matches the expected schema for a custom dimension.
Links and References
This summary focuses on the "Admin (V1Alpha) - Custom Dimension" resource and the "Create Custom Dimension" operation as requested.