Google Analytics icon

Google Analytics

Use the Google Analytics API

Actions84

Overview

This node integrates with the Google Analytics API, specifically targeting the Admin (V1Alpha) resource for managing Display & Video 360 Advertiser Links. The "Update Display & Video 360 Advertiser Link" operation allows users to modify existing advertiser link configurations within a specified Google Analytics property.

Typical use cases include:

  • Updating the configuration of an existing Display & Video 360 Advertiser Link to reflect changes in advertising campaigns or account settings.
  • Automating updates to advertiser links as part of a larger analytics or marketing workflow.
  • Synchronizing advertiser link data between Google Analytics and other systems.

For example, a marketing team might update the advertiser link details to ensure accurate tracking of video ad performance across platforms.

Properties

Name Meaning
Property ID The unique identifier of the Google Analytics property where the advertiser link exists.
Display & Video 360 Advertiser Link ID The unique identifier of the specific Display & Video 360 Advertiser Link to update.
Query Parameters Optional parameters to customize the request, including:
- Calculated Metric ID: ID for calculated metrics
- Entity: Level of data access report (property or account)
- Filter: Expression to filter results
- Names: Names of access bindings to retrieve
- Page Size: Max number of report tasks to return
- Page Token: Token for pagination
- Show Deleted: Include soft-deleted properties
- Universal Analytics Property ID: UA property to look up connected GA4 property
- Update Mask: List of fields to update (in snake case)
Request Body JSON object containing the updated data for the Display & Video 360 Advertiser Link.

Output

The node outputs a JSON array where each element corresponds to the response from the Google Analytics API for the update operation. The JSON structure reflects the updated Display & Video 360 Advertiser Link resource, typically including fields such as link identifiers, configuration details, and status.

No binary data output is involved in this operation.

Dependencies

  • Requires valid Google Analytics API OAuth2 credentials configured in n8n.
  • The node uses the Google Analytics Admin API endpoint https://analyticsadmin.googleapis.com/v1alpha.
  • Proper permissions on the Google Analytics property are necessary to perform update operations on Display & Video 360 Advertiser Links.

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 authorized.
  • Required Parameter Errors: Errors indicating missing "Property ID" or "Display & Video 360 Advertiser Link ID" mean these inputs must be provided for the update operation.
  • API Errors: Errors returned from the Google Analytics API may include permission issues, invalid IDs, or malformed request bodies. Review the error message and stack trace for details.
  • Update Mask Usage: When specifying the updateMask query parameter, ensure field names are in snake_case and correspond exactly to the fields being updated; otherwise, the API may ignore changes or return errors.

Links and References


This summary focuses on the "Update Display & Video 360 Advertiser Link" operation within the Admin (V1Alpha) resource, based on the provided source code and input properties.

Discussion