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
Data (V1Beta) - Property → Check Compatibility
AI-generatedOverview
This node integrates with the Google Analytics API, allowing users to perform a wide range of administrative and data-related operations on Google Analytics accounts and properties. It supports multiple API versions (v1alpha, v1beta) and resources such as accounts, properties, audiences, data streams, custom dimensions/metrics, and more.
The "Check Compatibility" operation under the "Data (V1Beta) - Property" resource specifically checks for compatibility of dimensions and metrics within a given property. This is useful when building or validating reports to ensure that selected metrics and dimensions can be used together without errors.
Common scenarios:
- Validating if certain metrics and dimensions can be combined in a report.
- Automating administrative tasks like managing accounts, properties, and access bindings.
- Running various types of reports and exporting audience lists.
- Managing links to other Google services like AdSense, BigQuery, Firebase, and Google Ads.
Practical example:
A marketing analyst wants to automate the validation of their custom report configurations by checking if the chosen metrics and dimensions are compatible before running the report. They use this node's "Check Compatibility" operation to programmatically verify compatibility, preventing runtime errors in reporting workflows.
Properties
| Name | Meaning |
|---|---|
| Property ID | The identifier of the Google Analytics property to operate on. |
| Query Parameters | Optional parameters to refine the request, including: |
| - Calculated Metric ID: ID for a calculated metric. | |
| - Entity: Level of data access report (property or account). | |
| - Filter: Expression to filter results. | |
| - Names: Names of access bindings to retrieve. | |
| - Page Size: Maximum number of items to return. | |
| - Page Token: Token for pagination continuation. | |
| - Show Deleted: Whether to 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). | |
| Request Body | JSON object containing the request payload, used for POST/PATCH operations. |
Note: For the "Check Compatibility" operation, the key input is the Property ID and relevant query parameters or request body as per the API specification.
Output
The node outputs an array of JSON objects representing the response from the Google Analytics API for the requested operation.
For the "Check Compatibility" operation, the output JSON will contain information about whether the specified dimensions and metrics are compatible within the property context. The exact structure depends on the API response but typically includes compatibility status and details on incompatible combinations.
If the operation involves binary data (not typical for "Check Compatibility"), the node would handle it accordingly, but this operation deals with JSON responses only.
Dependencies
- Requires valid Google Analytics API OAuth2 credentials configured in n8n.
- Uses the Google Analytics Data API endpoints:
- Base URLs vary by resource version, e.g.,
https://analyticsdata.googleapis.com/v1betafor Data (V1Beta).
- Base URLs vary by resource version, e.g.,
- Network connectivity to Google APIs is required.
Troubleshooting
- Missing Credentials Error: If the node throws "Missing Google Analytics API Credentials," ensure that OAuth2 credentials for Google Analytics are properly set up in n8n.
- Required Parameter Errors: Many operations require specific IDs (e.g., Property ID). Missing these will cause errors like "Property ID is required." Always provide necessary identifiers.
- API Request Failures: Errors returned from the Google API will be wrapped with messages like "Error calling Google Analytics API: ...". Check the error message and stack trace for details.
- Pagination Issues: When using query parameters like
pageToken, ensure correct handling of tokens to fetch subsequent pages. - Invalid JSON in Request Body: For operations requiring a request body, ensure the JSON is well-formed.
Links and References
- Google Analytics Data API Documentation
- Google Analytics Admin API Documentation
- Google OAuth2 Setup Guide
This summary focuses on the "Check Compatibility" operation under the "Data (V1Beta) - Property" resource, describing its purpose, inputs, outputs, and usage context based on static analysis of the provided source code and property definitions.