Actions102
- Account Actions
- Built-In Variable Actions
- Client Actions
- Container Actions
- Destination Actions
- Environment Actions
- Folder Actions
- Google Tag Configuration Actions
- Tag Actions
- Template Actions
- Transformation Actions
- Trigger Actions
- User Permission Actions
- Variable Actions
- Version Actions
- Workspace Actions
- Zone Actions
Overview
This node interacts with the Google Tag Manager (GTM) API, specifically supporting operations related to Google Tag Configuration among many other GTM resources. For the Get Google Tag Configuration operation, it retrieves a specific Google Tag Configuration from a GTM workspace within a container and account.
This is useful when you want to programmatically fetch details about a Google Tag Configuration for auditing, reporting, or integration purposes. For example, you might use this node to retrieve tag configuration details before updating or analyzing them in an automated workflow.
Properties
| Name | Meaning |
|---|---|
| Account ID | The GTM Account ID where the Google Tag Configuration resides. |
| Container ID | The GTM Container ID that contains the workspace with the Google Tag Configuration. |
| Workspace ID | The GTM Workspace ID within the container where the Google Tag Configuration exists. |
| Google Tag Configuration ID | The unique identifier of the Google Tag Configuration to retrieve. |
| Optional Query Parameters | Additional optional parameters to customize the request. These include: |
| - Allow User Permission Feature Update (boolean): Allows user permission feature updates. | |
| - Built-In Variable Type (select from many predefined types): Specifies built-in variable type. | |
| - Container ID (string): ID of container to merge into current container (used in some operations). | |
| - Container Version ID (string): Specify published version or other container version. | |
| - Copy Settings (boolean): Whether to copy tag settings when creating new tags. | |
| - Copy Terms Of Service (boolean): Accept terms of service agreements when copying tags. | |
| - Copy Users (boolean): Whether to copy users from one tag to another. | |
| - Destination ID (string): Linked destination ID for a GTM container. | |
| - Fingerprint (string): Must match stored fingerprint for concurrency control. | |
| - Include Google Tags (boolean): Whether to include accounts associated with Google Tag. | |
| - Page Token (string): Token for paginated results. | |
| - Setting Source (option): Source of config setting after combine (current, other, unspecified). | |
| - Tag ID (string): Tag ID for a GTM container. | |
| - Tag Name (string): Name for newly created tag. | |
| - Trigger ID (string): Triggers to move to folder. | |
| - Variable ID (string): Variables to move to folder. |
Output
The output is a JSON array containing the response from the Google Tag Manager API for the requested Google Tag Configuration. The structure corresponds directly to the Google Tag Configuration resource as defined by the GTM API, including all its properties such as configuration details, metadata, and identifiers.
No binary data output is involved.
Dependencies
- Requires an OAuth2 credential configured for Google Tag Manager API access.
- The node uses the base URL
https://www.googleapis.com/tagmanager/v2for API requests. - Proper permissions on the Google Tag Manager account are necessary to perform the get operation.
Troubleshooting
- Missing Credentials Error: If the node throws an error about missing credentials, ensure that a valid OAuth2 credential for Google Tag Manager API is set up and connected.
- Required Parameter Missing: Errors indicating missing Account ID, Container ID, Workspace ID, or Google Tag Configuration ID mean these fields must be provided for the operation to succeed.
- API Errors: Any errors returned from the Google API will be wrapped and shown with the message "Error calling GTM API". Check the detailed message and stack trace for specifics.
- Permission Issues: Insufficient permissions on the GTM account or container may cause authorization errors.
- Invalid IDs: Providing incorrect or non-existent IDs will result in not found or similar errors.