Google Analytics icon

Google Analytics

Use the Google Analytics API

Actions236

Admin (V1Alpha) - Firebase Link → List Firebase Links

AI-generated

Overview

This node interacts with the Google Analytics API, specifically targeting the Admin (V1Alpha) resource for Firebase Links. The "List Firebase Links" operation retrieves a list of Firebase project links associated with a specified Google Analytics property. This is useful for users who want to manage or audit their Firebase integrations within Google Analytics properties.

Common scenarios include:

  • Auditing all Firebase projects linked to a particular Google Analytics property.
  • Automating reports or workflows that require knowledge of Firebase integrations.
  • Managing multiple Firebase links programmatically via n8n workflows.

Example: A marketing analyst wants to fetch all Firebase links for a property to verify which mobile apps are connected and ensure data flows correctly between Firebase and Google Analytics.

Properties

Name Meaning
Property ID The identifier of the Google Analytics property for which to list Firebase links.
Query Parameters Optional parameters to refine 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 results to return (number, default 10).
- Page Token: Token for fetching next page of results (string).
- Show Deleted: Whether to include soft-deleted properties (boolean, default true).
- Universal Analytics Property ID: UA property to look up connected GA4 property (string).
- Update Mask: List of fields to update (snake case string).

Output

The output is a JSON array containing the list of Firebase links associated with the specified property. Each item in the array represents a Firebase link object as returned by the Google Analytics Admin API. The structure typically includes details such as the Firebase project ID, resource name, and other metadata about the link.

No binary data is output by this node.

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 are required to list Firebase links.

Troubleshooting

  • Missing Credentials Error: If the node throws "Missing Google Analytics API Credentials," ensure that the OAuth2 credentials for Google Analytics API are properly set up in n8n.
  • Property ID Required: The operation requires a valid Property ID; if missing, the node will throw an error indicating this requirement.
  • API Errors: Errors from the Google Analytics API will be surfaced with messages prefixed by "Error calling Google Analytics API." Check the API response and ensure the property exists and the authenticated user has access.
  • Pagination: If many Firebase links exist, use the "Page Token" query parameter to paginate through results.

Links and References


This summary covers the static analysis of the node's execute method for the Admin (V1Alpha) resource and List Firebase Links operation, based on the provided source code and input properties.

Discussion