Google Analytics icon

Google Analytics

Use the Google Analytics API

Actions236

Admin (V1Beta) - Firebase Link → Create Firebase Link

AI-generated

Overview

This node integrates with the Google Analytics API, specifically targeting the Admin (V1Beta) Firebase Link resource for creating Firebase links within a Google Analytics property. It allows users to programmatically create a link between a Google Analytics property and a Firebase project, enabling data sharing and integration between these platforms.

Common scenarios where this node is beneficial include:

  • Automating the setup of Firebase integrations for multiple Google Analytics properties.
  • Managing Firebase links as part of a larger analytics or marketing automation workflow.
  • Streamlining the linking process in environments where manual configuration would be time-consuming or error-prone.

For example, a user can use this node to create a Firebase link for a specific property by providing the property ID and the necessary request body details describing the Firebase project to link.

Properties

Name Meaning
Property ID The identifier of the Google Analytics property where the Firebase link will be created.
Query Parameters Optional parameters to customize the API request; includes options like filter, page size, etc.
Request Body JSON object containing the details of the Firebase link to create (e.g., Firebase project info).

Output

The node outputs a JSON array where each item corresponds to the response from the Google Analytics API after attempting to create the Firebase link. The JSON structure reflects the API's response for a Firebase link creation, typically including details about the newly created Firebase link such as its resource name, linked Firebase project information, and status.

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/v1beta.
  • Proper permissions on the Google Analytics property and Firebase project are required to create 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 and connected in n8n.
  • Required Parameter Errors: Errors like "Property ID is required" indicate that mandatory input fields were not provided. Make sure to supply all required parameters.
  • API Call Failures: Errors returned from 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, such as permission issues or invalid request bodies.
  • Invalid JSON in Request Body: Ensure that the JSON provided in the Request Body field is valid and matches the expected schema for creating a Firebase link.

Links and References


This summary focuses on the "Admin (V1Beta) - Firebase Link" resource and the "Create Firebase Link" operation as requested.

Discussion