Actions236
- 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
- Admin (V1Alpha) - Expanded Data Set Actions
- Admin (V1Alpha) - Firebase Link Actions
- Admin (V1Alpha) - Google Ads Link Actions
- Admin (V1Alpha) - Key Event Actions
- Admin (V1Alpha) - Measurement Protocol Secret Actions
- Admin (V1Alpha) - Property Actions
- Acknowledge User Data Collection
- Create Connected Site Tag
- Create Property
- Create Rollup Property
- Delete Connected Site Tag
- Delete Property
- Fetch Automated GA4 Configuration Opt Out
- Fetch Connected GA4 Property
- Get Property
- Get Property Attribution Settings
- Get Property Data Retention Settings
- Get Property Google Signals Settings
- List Connected Site Tags
- List Properties
- Provision Subproperty
- Run Access Report
- Set Automated GA4 Configuration Opt Out
- Update Property
- Update Property Attribution Settings
- Update Property Data Retention Settings
- Update Property Google Signals Settings
- Admin (V1Alpha) - Property Access Binding Actions
- Admin (V1Alpha) - Reporting Data Annotation Actions
- Admin (V1Alpha) - Rollup Property Source Link Actions
- Admin (V1Alpha) - Search Ads 360 Link Actions
- Admin (V1Alpha) - SKAdNetwork Conversion Value Schema Actions
- Admin (V1Alpha) - Subproperty Event Filter Actions
- Admin (V1Beta) - Account Actions
- Admin (V1Beta) - Account Summary Actions
- Admin (V1Beta) - Custom Dimension Actions
- Admin (V1Beta) - Custom Metric Actions
- Admin (V1Beta) - Data Stream Actions
- Admin (V1Beta) - Firebase Link Actions
- Admin (V1Beta) - Google Ads Link Actions
- Admin (V1Beta) - Key Event Actions
- Admin (V1Beta) - Measurement Protocol Secret Actions
- Admin (V1Beta) - Property Actions
- Data (V1Alpha) - Audience List Actions
- Data (V1Alpha) - Property Actions
- Data (V1Alpha) - Recurring Audience List Actions
- Data (V1Alpha) - Report Task Actions
- Data (V1Beta) - Audience Export Actions
- Data (V1Beta) - Property Actions
- User Deletion Actions
Admin (V1Beta) - Custom Dimension → Get Custom Dimension
AI-generatedOverview
This node interacts with the Google Analytics API, specifically supporting various administrative and data management operations across different versions of the API (v1alpha, v1beta) and data endpoints. The "Get Custom Dimension" operation under the "Admin (V1Beta) - Custom Dimension" resource allows users to retrieve details about a specific custom dimension configured within a Google Analytics property.
Common scenarios for this node include:
- Retrieving metadata about custom dimensions to understand how user or event data is categorized.
- Managing Google Analytics properties programmatically as part of automated workflows.
- Integrating Google Analytics configuration data into broader analytics or reporting pipelines.
For example, a marketing analyst might use this node to fetch the definition of a custom dimension to verify its settings before running reports that depend on it.
Properties
| Name | Meaning |
|---|---|
| Property ID | The identifier of the Google Analytics property where the custom dimension exists. |
| Custom Dimension ID | The unique identifier of the custom dimension to retrieve details for. |
| Query Parameters | Optional parameters to refine or filter the request; includes options like page size, filters, etc. |
The Query Parameters collection can include:
- Calculated Metric ID
- Entity (property or account level)
- Filter expressions
- Names of access bindings
- Page Size (number of results to return)
- Page Token (for pagination)
- Show Deleted (boolean to include soft-deleted items)
- Universal Analytics Property ID
- Update Mask (fields to update)
Output
The output is a JSON array containing the response from the Google Analytics API for the requested custom dimension. This typically includes all metadata fields associated with the custom dimension such as its name, scope, description, parameter name, and status.
No binary data output is involved in this operation.
Dependencies
- Requires an OAuth2 credential for authenticating with the Google Analytics API.
- The node uses the Google Analytics Admin API endpoints (
https://analyticsadmin.googleapis.com/v1beta). - Proper permissions on the Google Analytics account/property are necessary to access custom dimension data.
Troubleshooting
- Missing Credentials Error: If the OAuth2 credentials are not set up or missing, the node will throw an error indicating missing Google Analytics API credentials. Ensure the OAuth2 credential is configured correctly in n8n.
- Required Parameter Errors: The node requires
Property IDandCustom Dimension IDfor this operation. Omitting these will cause errors stating the missing required parameter. - API Request Failures: Errors returned by the Google Analytics API (e.g., permission denied, invalid IDs) will be surfaced with messages prefixed by "Error calling Google Analytics API". Verify that the IDs are correct and the authenticated user has sufficient access.
- Pagination Issues: When using query parameters like
pageSizeandpageToken, ensure tokens are valid and handle pagination properly if expecting multiple pages of results.
Links and References
- Google Analytics Admin API Documentation
- Custom Dimensions Overview
- Google Analytics API OAuth2 Setup
This summary focuses on the "Get Custom Dimension" operation under the "Admin (V1Beta) - Custom Dimension" resource, describing its inputs, outputs, dependencies, and common troubleshooting points based on static analysis of the provided source code and property definitions.