Automate Google Tag Manager
HumDay reads Google Tag Manager’s own published API description and derives 52 operations from it. Describe the outcome you want in plain words — you get a program that is written, proven on real data, and run for you.
What Google Tag Manager is
This API allows clients to access and modify container and tag configuration.
API host: tagmanager.googleapis.com
What HumDay can do in Google Tag Manager
30 documented operations change something in Google Tag Manager.
- POSTList all entities in a GTM Folder.
/tagmanager/v2/{path}:entities - POSTCreates a GTM Folder.
/tagmanager/v2/{parent}/folders - POSTCreates a user's Account & Container access.
/tagmanager/v2/{parent}/user_permissions - DELETERemoves a user from the account, revoking access to it and all of its containers.
/tagmanager/v2/{path} - PUTUpdates a user's Account & Container access.
/tagmanager/v2/{path} - POSTCreates a Container Version from the entities present in the workspace, deletes the workspace, and sets the base container version to the newly created version.
/tagmanager/v2/{path}:create_version - POSTMoves entities to a GTM Folder.
/tagmanager/v2/{path}:move_entities_to_folder - POSTCreates a GTM Tag.
/tagmanager/v2/{parent}/tags - POSTCreates a GTM Zone.
/tagmanager/v2/{parent}/zones - POSTCreates a GTM Client.
/tagmanager/v2/{parent}/clients - POSTCreates a GTM Trigger.
/tagmanager/v2/{parent}/triggers - POSTCreates a GTM Custom Template.
/tagmanager/v2/{parent}/templates - POSTCreates a GTM Variable.
/tagmanager/v2/{parent}/variables - POSTCreates a Container.
/tagmanager/v2/{parent}/containers - POSTCreates a Workspace.
/tagmanager/v2/{parent}/workspaces - POSTCreates a Google tag config.
/tagmanager/v2/{parent}/gtag_config - POSTCreates a GTM Environment.
/tagmanager/v2/{parent}/environments - POSTAdds a Destination to this Container and removes it from the Container to which it is currently linked.
/tagmanager/v2/{parent}/destinations:link - POSTCreates one or more GTM Built-In Variables.
/tagmanager/v2/{parent}/built_in_variables - POSTSyncs a workspace to the latest container version by updating all unmodified workspace entities and displaying conflicts for modified entities.
/tagmanager/v2/{path}:sync - POSTReverts changes to a GTM Zone in a GTM Workspace.
/tagmanager/v2/{path}:revert - POSTCombines Containers.
/tagmanager/v2/{path}:combine - POSTPublishes a Container Version.
/tagmanager/v2/{path}:publish - POSTUndeletes a Container Version.
/tagmanager/v2/{path}:undelete - POSTSets the latest version used for synchronization of workspaces when detecting conflicts and errors.
/tagmanager/v2/{path}:set_latest - POSTMove Tag ID out of a Container.
/tagmanager/v2/{path}:move_tag_id - POSTRe-generates the authorization code for a GTM Environment.
/tagmanager/v2/{path}:reauthorize - POSTQuick previews a workspace by creating a fake container version from all entities in the provided workspace.
/tagmanager/v2/{path}:quick_preview - POSTResolves a merge conflict for a workspace entity by updating it to the resolved entity passed in the request.
/tagmanager/v2/{path}:resolve_conflict - POSTReverts changes to a GTM Built-In Variables in a GTM Workspace.
/tagmanager/v2/{path}/built_in_variables:revert
What HumDay can read from Google Tag Manager
These are the operations a schedule or a trigger can watch.
- GETList all users that have access to the account along with Account and Container user access granted to each of them.
/tagmanager/v2/{parent}/user_permissions - GETLists all GTM Accounts that a user has access to.
/tagmanager/v2/accounts - GETGets a user's Account & Container access.
/tagmanager/v2/{path} - GETGets the tagging snippet for a Container.
/tagmanager/v2/{path}:snippet - GETLooks up a Container by destination ID.
/tagmanager/v2/accounts/containers:lookup - GETLists all GTM Tags of a Container.
/tagmanager/v2/{parent}/tags - GETFinds conflicting and modified entities in the workspace.
/tagmanager/v2/{path}/status - GETLists all GTM Zones of a GTM container workspace.
/tagmanager/v2/{parent}/zones - GETLists all GTM Clients of a GTM container workspace.
/tagmanager/v2/{parent}/clients - GETLists all GTM Folders of a Container.
/tagmanager/v2/{parent}/folders - GETLists all GTM Triggers of a Container.
/tagmanager/v2/{parent}/triggers - GETLists all GTM Templates of a GTM container workspace.
/tagmanager/v2/{parent}/templates - GETLists all GTM Variables of a Container.
/tagmanager/v2/{parent}/variables - GETLists all Containers that belongs to a GTM Account.
/tagmanager/v2/{parent}/containers - GETLists all Workspaces that belong to a GTM Container.
/tagmanager/v2/{parent}/workspaces - GETLists all Google tag configs in a Container.
/tagmanager/v2/{parent}/gtag_config - GETLists all Destinations linked to a GTM Container.
/tagmanager/v2/{parent}/destinations - GETLists all GTM Environments of a GTM Container.
/tagmanager/v2/{parent}/environments - GETGets the live (i.e. published) container version
/tagmanager/v2/{parent}/versions:live - GETLists all Container Versions of a GTM Container.
/tagmanager/v2/{parent}/version_headers - GETLists all the enabled Built-In Variables of a GTM Container.
/tagmanager/v2/{parent}/built_in_variables - GETGets the latest container version header
/tagmanager/v2/{parent}/version_headers:latest
How automating Google Tag Manager works
- Describe the outcome. Say what you want to happen, in your own words. No node graphs, no field mapping.
- Approve the contract. HumDay writes down exactly what it will do, what it will touch, and what it will never do. You approve it before anything is built.
- See it proven. The program runs and shows you the result before it is allowed near your live Google Tag Manager account.
- Grant access, then go live. You approve the specific Google Tag Manager operations it may use — and only those.
Automate Google Tag Manager with these
- Gmail79 operations
- Google+9 operations
- Google Abusive Experience Report2 operations
- Google Accelerated Mobile Pages (AMP) URL1 operations
- Google Access Approval7 operations
- Google Access Context Manager9 operations
- Google ACME DNS2 operations
- Google Ad Exchange Buyer38 operations
- Google Ad Exchange Buyer II50 operations
- Google Ad Experience Report2 operations
- Google Admin SDK122 operations
- Google AdMob7 operations
Categories
Questions about Google Tag Manager automation
- Can HumDay connect to Google Tag Manager?
- Yes. HumDay reads Google Tag Manager's own published API description and derives the operations from it, so there is no hand-built connector to wait for. 52 operations are documented.
- Do I need to write code to automate Google Tag Manager?
- No. You describe the outcome you want in plain words. HumDay agrees a contract with you, writes the program, and shows you a test run before anything touches your Google Tag Manager account.
- What can HumDay do in Google Tag Manager?
- 30 of the 52 documented operations change something in Google Tag Manager, and 22 read from it. HumDay only ever uses the specific operations your approved contract needs.
- Is my Google Tag Manager account safe?
- Your credentials are stored encrypted and are never shown in chat, code, or logs. Every run is limited to the operations you explicitly approved, and anything that writes to Google Tag Manager is held behind that approval.
Where this came from
The operations above are read from a published API description for Google Tag Manager at tagmanager.googleapis.com/$discovery/rest?version=v2. Descriptions are the provider’s own words, not ours. Last published 2023-04-06.