Actions27
- Account Actions
- Built-In Variable Actions
- Client Actions
- Container Actions
- Destination Actions
- Environment Actions
Container → Get Container
AI-generatedOverview
This node operation retrieves a specific Google Tag Manager (GTM) Container by its ID within a specified GTM Account. It is useful for users who want to fetch detailed information about a particular container in their GTM account, such as its configuration and settings.
Use Case Examples
- Fetch details of a GTM Container by providing the Account ID and Container ID to manage or audit container settings.
- Use this operation to integrate GTM container data into workflows for automation or reporting.
Properties
| Name | Meaning |
|---|---|
| Account ID | The GTM Account ID where the container resides. Required to identify the account context for the container. |
| Container ID | The GTM Container ID to retrieve. Required to specify which container's details to fetch. |
| Optional Query Parameters | Additional optional parameters to customize the API request, such as pagination or filtering options. |
Output
JSON
accountId- The GTM Account ID used in the request.containerId- The GTM Container ID requested.containerDetails- The detailed information of the GTM Container retrieved from the API.
Dependencies
- Google Tag Manager API OAuth2 credentials
Troubleshooting
- Ensure that the Account ID and Container ID are provided; missing these will cause errors.
- Check that the Google Tag Manager API credentials are correctly configured and authorized.
- If the API returns an error, verify the permissions of the authenticated user for the specified account and container.
- Review optional query parameters for correctness to avoid request failures.
Links
- Google Tag Manager API - Get Container - Official documentation for the GTM API endpoint to get a container.