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 Admin API to retrieve data sharing settings for a specified account. It is useful for administrators or analysts who need to programmatically access and review the data sharing configurations of their Google Analytics accounts. For example, it can be used to audit privacy settings or ensure compliance with organizational policies by fetching how data sharing is configured on an account.
Properties
Name | Meaning |
---|---|
Account ID | The unique identifier of the Google Analytics account whose data sharing settings are to be retrieved. |
Query Parameters | Optional parameters to refine or filter the request. Includes: |
- Calculated Metric ID: ID for a calculated metric. | |
- Entity: Level of data access report (property or account level). | |
- Filter: Expression to filter results. | |
- Names: Names of access bindings to retrieve. | |
- Page Size: Maximum number of report tasks to return (default 10). | |
- Page Token: Token for pagination to fetch next page of results. | |
- Show Deleted: Whether to include soft-deleted ("trashed") properties (boolean, default true). | |
- Universal Analytics Property ID: UA property to look up connected GA4 property. | |
- Update Mask: List of fields to update (snake case field names). |
Output
The node outputs a JSON array containing the response from the Google Analytics Admin API for the data sharing settings of the specified account. The structure corresponds directly to the API's response schema for data sharing settings, typically including details about what data is shared and with whom.
No binary data output is produced by this operation.
Dependencies
- Requires valid Google Analytics API OAuth2 credentials configured in n8n.
- The node makes authenticated HTTP requests to the Google Analytics Admin API endpoint
https://analyticsadmin.googleapis.com/v1alpha
.
Troubleshooting
- Missing Credentials Error: If the node throws "Missing Google Analytics API Credentials," ensure that OAuth2 credentials for Google Analytics API are properly set up and selected.
- Account ID Required: The node requires the Account ID property to be set; if missing, it will throw an error indicating this requirement.
- API Errors: Any errors returned by the Google Analytics API will be surfaced with messages prefixed by "Error calling Google Analytics API." Check the message and stack trace for details.
- Pagination Issues: When using query parameters like
pageToken
, ensure tokens are correctly managed to paginate through large result sets.