Templates

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

Resource representations

Represents a Google Tag Manager Custom Template's contents.

{
  "path": string,
  "accountId": string,
  "containerId": string,
  "workspaceId": string,
  "templateId": string,
  "name": string,
  "fingerprint": string,
  "tagManagerUrl": string,
  "templateData": string
}
Property name Value Description Notes
accountId string GTM Account ID.
containerId string GTM Container ID.
fingerprint string The fingerprint of the GTM Custom Template as computed at storage time. This value is recomputed whenever the template is modified.
name string Custom Template display name.
path string GTM Custom Template's API relative path.
tagManagerUrl string Auto generated link to the tag manager UI
templateData string The custom template in text format.
templateId string The Custom Template ID uniquely identifies the GTM custom template.
workspaceId string GTM Workspace ID.

Methods

create
Creates a GTM Custom Template.
delete
Deletes a GTM Template.
get
Gets a GTM Template.
list
Lists all GTM Templates of a GTM container workspace.
revert
Reverts changes to a GTM Template in a GTM Workspace.
update
Updates a GTM Template.