Thanks for previewing Google's new tag platform documentation! This site is in public beta. (Feedback)


Stay organized with collections Save and categorize content based on your preferences.

For a list of methods for this resource, see the end of this page.

Resource representations

Represents a Google Tag Manager Container, which specifies the platform tags will run on, manages workspaces, and retains container versions.

  "path": string,
  "accountId": string,
  "containerId": string,
  "name": string,
  "domainName": [
  "publicId": string,
  "notes": string,
  "usageContext": [
  "fingerprint": string,
  "tagManagerUrl": string
Property name Value Description Notes
accountId string GTM Account ID.
containerId string The Container ID uniquely identifies the GTM Container.
domainName[] list List of domain names associated with the Container. writable
fingerprint string The fingerprint of the GTM Container as computed at storage time. This value is recomputed whenever the account is modified.
name string Container display name. writable
notes string Container Notes. writable
path string GTM Container's API relative path.
publicId string Container Public ID.
tagManagerUrl string Auto generated link to the tag manager UI
usageContext[] list List of Usage Contexts for the Container. Valid values include: web, android, or ios. writable


Creates a Container.
Deletes a Container.
Gets a Container.
Lists all Containers that belongs to a GTM Account.
Updates a Container.