Containers

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": [
    string
  ],
  "publicId": string,
  "notes": string,
  "usageContext": [
    string
  ],
  "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

Methods

create
Creates a Container.
delete
Deletes a Container.
get
Gets a Container.
list
Lists all Containers that belongs to a GTM Account.
update
Updates a Container.