Google Analytics icon

Google Analytics

Use the Google Analytics API

Actions236

Admin (V1Beta) - Google Ads Link → Delete Google Ads Link

AI-generated

Overview

This node interacts with the Google Analytics Admin API, specifically supporting operations related to managing Google Ads Links within Google Analytics properties. The "Delete Google Ads Link" operation allows users to remove a Google Ads Link from a specified Google Analytics property.

Common scenarios for this node include:

  • Automating the removal of outdated or incorrect Google Ads Links from your Google Analytics properties.
  • Managing Google Ads integrations programmatically as part of a larger workflow that maintains analytics configurations.
  • Cleaning up Google Analytics properties by deleting links that are no longer needed.

For example, if you have multiple Google Ads accounts linked to your Google Analytics property and want to remove one link automatically when it is no longer relevant, this node can perform that deletion via the API.

Properties

Name Meaning
Property ID The identifier of the Google Analytics property where the Google Ads Link exists.
Google Ads Link ID The identifier of the specific Google Ads Link to delete within the given property.
Query Parameters Optional parameters to customize the API request. Includes options like filters, page size, etc.

The "Query Parameters" collection supports these optional fields (not all necessarily used in delete operation):

  • Calculated Metric ID
  • Entity (property or account level)
  • Filter expression
  • Names of access bindings
  • Page Size (number)
  • Page Token (for pagination)
  • Show Deleted (boolean)
  • Universal Analytics Property ID
  • Update Mask (fields to update)

Output

The output of the node is a JSON array containing the response from the Google Analytics API after attempting to delete the Google Ads Link. Typically, for a delete operation, the API returns an empty object {} or confirmation of deletion.

No binary data output is involved.

Example output JSON:

[{}]

Dependencies

  • Requires a valid Google Analytics API OAuth2 credential configured in n8n.
  • The node uses the Google Analytics Admin API endpoints (https://analyticsadmin.googleapis.com/v1beta for v1beta resources).
  • Proper permissions on the Google Analytics property to manage Google Ads Links are necessary.

Troubleshooting

  • Missing Credentials Error: If the node throws "Missing Google Analytics API Credentials", ensure that you have set up and selected a valid OAuth2 credential with access to the Google Analytics Admin API.
  • Required Parameter Errors: Errors like "Property ID is required" or "Google Ads Link ID is required" indicate missing mandatory inputs. Make sure these IDs are provided.
  • API Permission Errors: If the API returns permission denied errors, verify that the authenticated user has sufficient rights to delete Google Ads Links on the specified property.
  • Invalid ID Errors: Providing incorrect or non-existent Property ID or Google Ads Link ID will cause API errors. Double-check the IDs.
  • Network or API Errors: General API call failures may be due to network issues or API quota limits. Check connectivity and Google API quotas.

Links and References


This summary covers the "Delete Google Ads Link" operation under the "Admin (V1Beta) - Google Ads Link" resource, describing its purpose, input properties, output, dependencies, and common troubleshooting tips based on static analysis of the node's source code and provided property definitions.

Discussion