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 the Admin (V1Alpha) resource for AdSense Links. The "List AdSense Links" operation retrieves a list of AdSense links associated with a specified Google Analytics property. This is useful for users who want to manage or audit their AdSense integrations within Google Analytics properties.
Common scenarios include:
- Auditing all AdSense links connected to a particular property.
- Integrating AdSense link data into automated workflows for reporting or monitoring.
- Managing multiple properties and their linked AdSense accounts programmatically.
Example: A marketing analyst wants to fetch all AdSense links for a specific property to verify which AdSense accounts are currently linked and active.
Properties
Name | Meaning |
---|---|
Property ID | The identifier of the Google Analytics property for which to list AdSense links. |
Query Parameters | Optional parameters to filter or paginate the results. Includes: |
- Calculated Metric ID | ID for a calculated metric (not typically used in this operation). |
- Entity | Level of data access report (property or account level; not typical here). |
- Filter | Expression to filter results (not typical here). |
- Names | Names of access bindings to retrieve (not typical here). |
- Page Size | Maximum number of results to return (default 10). |
- Page Token | Token for fetching next page of results (for pagination). |
- Show Deleted | Whether to include soft-deleted ("trashed") properties in results (default true). |
- Universal Analytics Property ID | UA property to look up connected GA4 property (not typical here). |
- Update Mask | List of fields to update (not applicable here). |
Output
The output is a JSON array where each item represents an AdSense link object associated with the specified property. Each object contains details about the AdSense link such as its ID, name, and configuration metadata as returned by the Google Analytics API.
No binary data is output by this node.
Dependencies
- Requires valid Google Analytics API OAuth2 credentials configured in n8n.
- Uses the Google Analytics Admin API v1alpha endpoint:
https://analyticsadmin.googleapis.com/v1alpha
. - Proper permissions on the Google Analytics property to list AdSense links.
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 in n8n.
- Property ID Required: The operation requires a valid Property ID. Omitting it will cause an error.
- API Errors: Errors from the Google Analytics API (e.g., permission denied, invalid property ID) will be surfaced with messages prefixed by "Error calling Google Analytics API".
- Pagination Handling: If many AdSense links exist, use the "Page Token" query parameter to paginate through results.