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 domains. For the selected resource "Admin (V1Alpha) - Audience" and operation "Create Audience," it allows users to create new audience definitions within a specified Google Analytics property.
Use cases include:
- Creating targeted audience segments for marketing campaigns.
- Managing user groups for analytics and remarketing purposes.
- Automating audience creation as part of larger workflows involving Google Analytics data.
Example: Automatically create an audience segment based on specific user behavior or demographics in your Google Analytics property to use in advertising platforms.
Properties
Name | Meaning |
---|---|
Property ID | The identifier of the Google Analytics property where the audience will be created. |
Query Parameters | Optional parameters to filter or modify the request; includes options like calculatedMetricId, entity, filter, names, pageSize, pageToken, showDeleted, universalAnalyticsPropertyId, updateMask. |
Request Body | JSON object containing the details of the audience to create, such as audience name, description, and criteria. |
Output
The node outputs a JSON array where each element corresponds to the response from the Google Analytics API for the create audience request. The JSON structure reflects the newly created audience resource, including its unique identifiers and configuration details.
No binary data output is involved.
Dependencies
- Requires valid Google Analytics API OAuth2 credentials configured in n8n.
- Uses the Google Analytics Admin API endpoint
https://analyticsadmin.googleapis.com/v1alpha
. - The node performs authenticated HTTP requests using OAuth2 tokens.
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: Errors like "Property ID is required" indicate missing mandatory input properties. Verify that all required fields are provided.
- API Errors: Errors returned by the Google Analytics API will be wrapped and shown with the message prefix "Error calling Google Analytics API." Check the API error details for issues such as invalid JSON in the request body or insufficient permissions.
- Invalid JSON in Request Body: Ensure the JSON provided in the "Request Body" field is well-formed and matches the expected schema for creating an audience.
Links and References
- Google Analytics Admin API Documentation
- Google Analytics Audiences Guide
- Google Analytics API OAuth2 Setup
This summary focuses on the "Admin (V1Alpha) - Audience" resource and the "Create Audience" operation as requested.