Google Analytics icon

Google Analytics

Use the Google Analytics API

Actions236

Admin (V1Alpha) - Google Ads Link → Create Google Ads Link

AI-generated

Overview

This node integrates with the Google Analytics API, specifically supporting a wide range of administrative and data management operations across different versions (v1alpha, v1beta) and data APIs. For the selected resource "Admin (V1Alpha) - Google Ads Link" and operation "Create Google Ads Link," the node allows users to create a new Google Ads link within a specified Google Analytics property.

This is useful for organizations that want to programmatically link their Google Analytics properties with Google Ads accounts to enable integrated advertising and analytics workflows. For example, marketing teams can automate linking Google Ads accounts to their analytics properties to streamline campaign tracking and reporting.

Properties

Name Meaning
Property ID The identifier of the Google Analytics property where the Google Ads link will be created.
Query Parameters Optional parameters to customize the request, such as filters or pagination options.
Request Body JSON object containing the details of the Google Ads link to create.

Details on Properties:

  • Property ID: Required string specifying the target property.
  • Query Parameters: A collection of optional parameters like calculatedMetricId, entity, filter, names, pageSize, pageToken, showDeleted, universalAnalyticsPropertyId, and updateMask. These allow fine-tuning of the API request but are generally not required for creating a Google Ads link.
  • Request Body: A JSON object representing the Google Ads link resource to be created. This must conform to the expected schema of the Google Analytics Admin API for Google Ads links.

Output

The output is a JSON array where each element corresponds to the response from the Google Analytics API for the executed operation. For the "Create Google Ads Link" operation, the output JSON contains the newly created Google Ads link resource details as returned by the API.

No binary data output is involved in this operation.

Dependencies

  • Requires an OAuth2 credential configured for Google Analytics API access.
  • The node uses the Google Analytics Admin API endpoint https://analyticsadmin.googleapis.com/v1alpha.
  • Proper permissions on the Google Analytics account and property are necessary to create Google Ads links.

Troubleshooting

  • Missing Credentials Error: If the node throws "Missing Google Analytics API Credentials," ensure that a valid OAuth2 credential for Google Analytics API is configured and connected.
  • Required Parameter Errors: Errors like "Property ID is required" indicate that mandatory input fields were not provided. Verify that the Property ID is set correctly.
  • API Errors: Any error returned by the Google Analytics API will be wrapped and shown with the message prefix "Error calling Google Analytics API." Check the detailed error message and stack trace for specifics.
  • Invalid Request Body: If the request body JSON is malformed or missing required fields, the API will reject the request. Validate the JSON structure before execution.

Links and References


This summary focuses on the "Admin (V1Alpha) - Google Ads Link" resource and the "Create Google Ads Link" operation as requested.

Discussion