Skip to main content

templates

Overview

Nametemplates
TypeResource
Idgoogleanalytics.tagmanager.templates

Fields

NameDatatypeDescription
namestringCustom Template display name.
templateDatastringThe custom template in text format.
fingerprintstringThe fingerprint of the GTM Custom Template as computed at storage time. This value is recomputed whenever the template is modified.
pathstringGTM Custom Template's API relative path.
templateIdstringThe Custom Template ID uniquely identifies the GTM custom template.
workspaceIdstringGTM Workspace ID.
galleryReferenceobjectRepresents the link between a custom template and an entry on the Community Template Gallery site.
containerIdstringGTM Container ID.
tagManagerUrlstringAuto generated link to the tag manager UI
accountIdstringGTM Account ID.

Methods

NameAccessible byRequired ParamsDescription
accounts_containers_workspaces_templates_getSELECTaccountsId, containersId, templatesId, workspacesIdGets a GTM Template.
accounts_containers_workspaces_templates_listSELECTaccountsId, containersId, workspacesIdLists all GTM Templates of a GTM container workspace.
accounts_containers_workspaces_templates_createINSERTaccountsId, containersId, workspacesIdCreates a GTM Custom Template.
accounts_containers_workspaces_templates_deleteDELETEaccountsId, containersId, templatesId, workspacesIdDeletes a GTM Template.
accounts_containers_workspaces_templates_revertEXECaccountsId, containersId, templatesId, workspacesIdReverts changes to a GTM Template in a GTM Workspace.
accounts_containers_workspaces_templates_updateEXECaccountsId, containersId, templatesId, workspacesIdUpdates a GTM Template.