Googleapis Tagmanager
Googleapis Tagmanager is a generated connector for the Google Tag Manager API, which manages website and app tracking tags, containers, triggers, and variables.
- Base URL:
https://tagmanager.googleapis.com - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
tagmanager_accounts_list— GET /tagmanager/v2/accounts — Lists all GTM Accounts that a user has access to.tagmanager_accounts_containers_lookup— GET /tagmanager/v2/accounts/containers:lookup — Looks up a Container by destination ID.tagmanager_accounts_containers_workspaces_built_— GET /tagmanager/v2/{parent}/built_in_variables — Lists all the enabled Built-In Variables of a GTM Container.tagmanager_accounts_containers_workspaces_client— GET /tagmanager/v2/{parent}/clients — Lists all GTM Clients of a GTM container workspace.tagmanager_accounts_containers_list— GET /tagmanager/v2/{parent}/containers — Lists all Containers that belongs to a GTM Account.tagmanager_accounts_containers_destinations_list— GET /tagmanager/v2/{parent}/destinations — Lists all Destinations linked to a GTM Container.
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: tagmanager_accounts_list
# (attach an 'oauth' credential to the task — no inline secrets)
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
operation |
string | yes | — | One of: tagmanager_accounts_list, tagmanager_accounts_containers_lookup, tagmanager_accounts_containers_workspaces_built_, tagmanager_accounts_containers_workspaces_client, tagmanager_accounts_containers_list, tagmanager_accounts_containers_destinations_list |
parent |
string | no | — | Path parameter parent (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |