Google Analytics icon

Google Analytics

Use the Google Analytics API

Actions84

Overview

This node integrates with the Google Analytics API, specifically supporting a wide range of administrative and data management operations across different Google Analytics resources. For the selected resource "Admin (V1Alpha) - BigQuery Link" and operation "Update BigQuery Link," the node allows users to update existing BigQuery link configurations associated with a Google Analytics property.

Typical use cases include managing the linkage between Google Analytics properties and BigQuery datasets for advanced data analysis and reporting. For example, updating the configuration of a BigQuery export link to change dataset details or permissions without recreating the link from scratch.

Properties

Name Meaning
Property ID The identifier of the Google Analytics property where the BigQuery link exists.
BigQuery Link ID The identifier of the specific BigQuery link to update within the given property.
Query Parameters Optional parameters to customize the request, including:
- Calculated Metric ID: ID for a calculated metric (string).
- Entity: Level of data access report (property or account level) (string).
- Filter: Expression to filter results (string).
- Names: Names of access bindings to retrieve (string).
- Page Size: Maximum number of report tasks to return (number).
- Page Token: Continuation token for pagination (string).
- Show Deleted: Whether to include soft-deleted properties (boolean).
- Universal Analytics Property ID: UA property to look up connected GA4 property (string).
- Update Mask: Comma-separated list of fields to update in snake_case (string).
Request Body JSON object containing the updated BigQuery link configuration details.

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 BigQuery link resource as returned by the API, typically including fields such as link identifiers, linked dataset information, and status.

No binary data output is involved.

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 property and BigQuery link are necessary to perform updates.

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 selected.
  • Required Parameter Errors: Errors like "Property ID is required" or "BigQuery Link ID is required" indicate missing mandatory inputs. Verify that these IDs are correctly provided.
  • API Call Failures: Errors returned from the Google Analytics API will be wrapped with messages like "Error calling Google Analytics API." Check the error message and stack trace for details, and verify API quotas, permissions, and network connectivity.
  • Invalid Update Mask: If using the updateMask query parameter, ensure field names are in snake_case and correspond to updatable fields in the BigQuery link resource.

Links and References


This summary focuses on the "Admin (V1Alpha) - BigQuery Link" resource and the "Update BigQuery Link" operation as requested, based on static analysis of the provided source code and input properties.

Discussion