Actions27
- Account Actions
- Built-In Variable Actions
- Client Actions
- Container Actions
- Destination Actions
- Environment Actions
Destination → List Destinations
AI-generatedOverview
This node interacts with the Google Tag Manager (GTM) API to manage GTM Destinations. Specifically, the 'List Destinations' operation retrieves all Destinations linked to a specified GTM Container. This is useful for users who want to programmatically access and manage the destinations associated with their GTM containers, such as for auditing, reporting, or automation purposes.
Use Case Examples
- A marketing team wants to list all destinations linked to a specific GTM container to review where tags are being sent.
- An automation workflow retrieves all GTM destinations to synchronize them with another system or database.
Properties
| Name | Meaning |
|---|---|
| Account ID | The GTM Account ID to specify which account's container destinations to list. |
| Container ID | The GTM Container ID to specify which container's destinations to list. |
| Optional Query Parameters | Additional optional parameters to customize the API request, such as pagination tokens or filters. |
Output
JSON
destinationId- The unique identifier of the GTM Destination.name- The name of the GTM Destination.type- The type/category of the GTM Destination.linkedContainerId- The ID of the GTM Container to which the destination is linked.additionalProperties- Other properties returned by the GTM API for each destination.
Dependencies
- Google Tag Manager API OAuth2 credentials
Troubleshooting
- Ensure that the Account ID and Container ID are provided; missing these will cause errors.
- Verify that the OAuth2 credentials for Google Tag Manager API are correctly set up and authorized.
- Check for API rate limits or permission issues if the API call fails.
Links
- Google Tag Manager API - List Destinations - Official documentation for the List Destinations API endpoint in Google Tag Manager.