Google Analytics icon

Google Analytics

Use the Google Analytics API

Actions84

Overview

This node interacts with the Google Analytics API, specifically targeting the Admin (V1Alpha) resource for Account Access Bindings. The "Delete Account Access Binding" operation allows users to delete an access binding associated with a specific account. This is useful in scenarios where you need to revoke or remove user access permissions from a Google Analytics account programmatically.

Practical examples include:

  • Automating the removal of user access when employees leave an organization.
  • Managing access bindings in bulk by integrating this node into workflows that handle user lifecycle events.
  • Ensuring compliance by regularly auditing and removing outdated access bindings.

Properties

Name Meaning
Account ID The unique identifier of the Google Analytics account from which the access binding will be deleted.
Access Binding ID The unique identifier of the access binding to delete within the specified account.
Query Parameters Optional parameters to refine the request; includes options like filtering, pagination, etc. (not typically used for delete).

Output

The output is a JSON array containing the response from the Google Analytics API after attempting to delete the specified account access binding. Typically, for a delete operation, the response may be empty or contain confirmation details about the deletion.

No binary data is output by this node.

Dependencies

  • Requires valid Google Analytics API credentials with OAuth2 authentication configured in n8n.
  • The node uses the Google Analytics Admin API endpoint https://analyticsadmin.googleapis.com/v1alpha.
  • Proper permissions on the Google Analytics account are necessary to delete access bindings.

Troubleshooting

  • Missing Credentials Error: If the node throws an error about missing credentials, ensure that the Google Analytics OAuth2 API credentials are properly set up and connected in n8n.
  • Required Parameter Errors: Errors such as "Account ID is required" or "Access Binding ID is required" indicate that these mandatory fields were not provided. Make sure to supply both IDs.
  • API Permission Errors: If the API returns permission denied errors, verify that the authenticated user has sufficient rights to delete access bindings on the target account.
  • Network or API Errors: General API call failures might be due to network issues or API quota limits. Check connectivity and Google API quotas.

Links and References


This summary focuses on the "Delete Account Access Binding" operation under the "Admin (V1Alpha) - Account Access Binding" resource, describing its purpose, inputs, outputs, dependencies, and common troubleshooting tips based on static analysis of the node's source code and provided property definitions.

Discussion