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 "Get AdSense Link" operation retrieves details about a specific AdSense link associated with a Google Analytics property.
Use cases include:
- Fetching configuration and status of an AdSense link within a Google Analytics property.
- Integrating AdSense data into workflows for reporting or monitoring.
- Automating management tasks related to AdSense links in Google Analytics properties.
For example, you might use this node to programmatically retrieve the AdSense link information for a property to verify its setup or to sync AdSense-related data with other systems.
Properties
Name | Meaning |
---|---|
Property ID | The identifier of the Google Analytics property that contains the AdSense link. |
AdSense Link ID | The unique identifier of the AdSense link to retrieve. |
Query Parameters | Optional parameters to customize the request; includes options like filter, page size, etc. |
The Query Parameters
collection supports these options (all optional):
- 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 report tasks to return.
- Page Token: Token for fetching next page of results.
- 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).
Output
The node outputs a JSON array where each item corresponds to the response from the Google Analytics API for the requested AdSense link. The structure matches the API's AdSense link resource representation, typically including details such as link identifiers, status, and configuration.
No binary data output is involved.
Dependencies
- Requires valid Google Analytics API OAuth2 credentials configured in n8n.
- Uses the Google Analytics Admin API endpoint at
https://analyticsadmin.googleapis.com/v1alpha
. - Network connectivity to Google APIs is necessary.
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" or "AdSense Link ID is required" indicate missing mandatory inputs. Verify that these IDs are provided.
- 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, and confirm that the property and AdSense link IDs are correct and accessible by the authenticated user.
- Permission Issues: Insufficient permissions on the Google Analytics account may cause authorization errors. Ensure the OAuth2 token has appropriate scopes.
Links and References
- Google Analytics Admin API - AdSense Links
- Google Analytics API OAuth2 Setup
- n8n OAuth2 Credential Setup
This summary is based on static analysis of the node's source code and input property definitions without runtime execution.