Google Analytics icon

Google Analytics

Use the Google Analytics API

Actions84

Overview

This node interacts with the Google Analytics API, specifically supporting a wide range of administrative and data management operations. For the selected resource "Admin (V1Alpha) - BigQuery Link" and operation "Get BigQuery Link," it retrieves details about a specific BigQuery link associated with a Google Analytics property.

Use cases include:

  • Fetching configuration details of a BigQuery export link for a given Google Analytics property.
  • Managing integrations between Google Analytics properties and BigQuery datasets.
  • Automating retrieval of BigQuery link metadata to monitor or audit data exports.

Practical example:

  • You want to programmatically get information about the BigQuery link configured for your GA4 property to verify its status or settings without manually checking the Google Analytics UI.

Properties

Name Meaning
Property ID The identifier of the Google Analytics property to which the BigQuery link belongs.
BigQuery Link ID The identifier of the specific BigQuery link to retrieve details for.
Query Parameters Optional parameters to filter or paginate results; includes options like page size, filter, etc.

The "Query Parameters" collection supports these options (not all relevant for this operation but available generally):

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

Output

The node outputs JSON data representing the retrieved BigQuery link object from the Google Analytics API. This JSON contains all details about the BigQuery link such as its configuration, linked dataset, project info, and status.

No binary data output is involved in this operation.

Dependencies

  • Requires an OAuth2 credential 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 are necessary to fetch BigQuery link details.

Troubleshooting

  • Missing Credentials Error: If the node throws "Missing Google Analytics API Credentials," ensure you have configured valid OAuth2 credentials with appropriate scopes.
  • Required Parameter Errors: Errors like "Property ID is required" or "BigQuery Link ID is required" indicate missing mandatory inputs. Provide these IDs correctly.
  • API Request Failures: Network issues or insufficient permissions can cause API call failures. Check connectivity and that the authenticated user has access to the specified property and BigQuery link.
  • Invalid IDs: Using incorrect or non-existent Property or BigQuery Link IDs will result in errors from the API. Verify IDs before use.

Links and References

Discussion