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 targeting administrative and data-related resources. The "Get Data Stream Data Redaction Settings" operation under the "Admin (V1Alpha) - Data Stream" resource retrieves the current data redaction settings for a specified data stream within a Google Analytics property.
This operation is useful when you want to programmatically check how user data is being redacted in your data streams, ensuring compliance with privacy regulations or internal policies. For example, a marketing analyst might use this to verify that sensitive user information is properly masked before analysis.
Properties
| Name | Meaning |
|---|---|
| Property ID | The unique identifier of the Google Analytics property containing the data stream. |
| Data Stream ID | The unique identifier of the data stream whose data redaction settings are to be retrieved. |
| Query Parameters | Optional parameters to filter or paginate results; includes options like calculatedMetricId, entity, filter, names, pageSize, pageToken, showDeleted, universalAnalyticsPropertyId, updateMask. |
Output
The output JSON contains the data redaction settings of the specified data stream. This typically includes configuration details about how user data is anonymized or masked within that data stream.
The node does not explicitly handle binary data for this operation.
Dependencies
- Requires an OAuth2 API credential for Google Analytics API authentication.
- The node makes HTTP requests to the Google Analytics Admin API endpoint:
https://analyticsadmin.googleapis.com/v1alpha. - Proper permissions on the Google Analytics account/property are necessary to access data stream settings.
Troubleshooting
- Missing Credentials Error: If the node throws an error about missing credentials, ensure that a valid Google Analytics OAuth2 API credential is configured in n8n.
- Required Parameter Errors: The node requires both Property ID and Data Stream ID for this operation. Omitting either will cause an error indicating the missing parameter.
- API Permission Issues: Insufficient permissions on the Google Analytics account or property may result in authorization errors. Verify that the authenticated user has access rights.
- Invalid IDs: Providing incorrect or non-existent Property ID or Data Stream ID will lead to API errors. Double-check these identifiers.
- Network or API Errors: General API call failures will include error messages from Google Analytics API. Review the message and stack trace for debugging.
Links and References
- Google Analytics Admin API Documentation
- Data Stream Data Redaction Settings
- Google Analytics OAuth2 Setup
If you need further details on other operations or resources, please let me know!