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 targeting the Admin (V1Alpha) resource for managing AdSense Links. The "Delete AdSense Link" operation allows users to delete an existing AdSense link associated with a specified Google Analytics property. This is useful for administrators who want to remove AdSense integrations from their analytics properties, for example when discontinuing monetization or cleaning up unused links.
Practical scenarios include:
- Removing obsolete or incorrect AdSense links from a Google Analytics property.
- Automating cleanup of AdSense links during property decommissioning.
- Managing AdSense integrations programmatically as part of larger Google Analytics administration workflows.
Properties
| Name | Meaning |
|---|---|
| Property ID | The identifier of the Google Analytics property that contains the AdSense link to delete. |
| AdSense Link ID | The unique identifier of the AdSense link to be deleted within the specified property. |
| Query Parameters | Optional additional parameters for the API request (not typically required for deletion). |
Output
The output is a JSON array containing the response from the Google Analytics API after attempting to delete the specified AdSense link. Typically, for a delete operation, the API returns an empty object or confirmation of deletion. The node outputs this response in the json field of the returned data.
No binary data is involved in this operation.
Dependencies
- Requires valid Google Analytics API OAuth2 credentials configured in n8n.
- The node uses the Google Analytics Admin API v1alpha endpoint:
https://analyticsadmin.googleapis.com/v1alpha. - Proper permissions on the Google Analytics account and property are necessary to perform deletions.
Troubleshooting
- Missing Credentials Error: If the node throws "Missing Google Analytics API Credentials", ensure that OAuth2 credentials for Google Analytics are properly set up and connected.
- Required Parameter Errors: Errors like "Property ID is required" or "AdSense Link ID is required" indicate missing input values. Verify that these fields are correctly filled.
- API Permission Denied: If the API returns permission errors, check that the authenticated user has sufficient rights to delete AdSense links on the specified property.
- Invalid IDs: Using incorrect or non-existent Property ID or AdSense Link ID will cause API errors. Confirm IDs are accurate.
- Network or API Errors: General API call failures may occur due to network issues or Google API service problems. Retry or check Google API status.
Links and References
This summary covers the static analysis of the node's execute method for the "Delete AdSense Link" operation under the Admin (V1Alpha) - AdSense Link resource.