Google Tag Manager (Improved) icon

Google Tag Manager (Improved)

Use the Google Tag Manager API

Container → Lookup Container

AI-generated

Overview

This node operation performs a lookup for a Google Tag Manager (GTM) Container by either destination ID or tag ID. It is useful when you need to find a specific container associated with a GTM account without knowing the exact container ID. For example, you can use this operation to retrieve container details linked to a particular destination or tag within your GTM setup.

Use Case Examples

  1. Lookup a GTM container by providing a destination ID to find the associated container details.
  2. Lookup a GTM container by providing a tag ID to retrieve container information related to that tag.

Properties

Name Meaning
Optional Query Parameters Additional optional parameters to customize the lookup operation, such as filtering or specifying certain features.

Output

JSON

  • container - The details of the GTM container found by the lookup operation.

Dependencies

  • Google Tag Manager API OAuth2 credentials

Troubleshooting

  • Ensure that either a destination ID or a tag ID is provided, as the lookup requires one of these identifiers.
  • Verify that the GTM Account ID is correctly set, as it is required for the lookup operation.
  • Check that the OAuth2 credentials for Google Tag Manager API are properly configured and valid.
  • Common error messages include missing required parameters (e.g., GTM Account ID) or invalid IDs; resolving these involves providing the correct IDs and credentials.

Links

Discussion