Note: This developer site is moving to developers.google.com/tag-platform and will be redirected by September 30, 2021

Accounts

The collection of Tag Manager accounts to which the authenticated user has access. For information about how the user creates and maintains accounts, see Setup and Workflow.

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

Resource representations

Represents a Google Tag Manager account.

{
  "accountId": string,
  "name": string,
  "shareData": boolean,
  "fingerprint": string
}
Property name Value Description Notes
accountId string The Account ID uniquely identifies the GTM Account.
fingerprint string The fingerprint of the GTM Account as computed at storage time. This value is recomputed whenever the account is modified.
name string Account display name. writable
shareData boolean Whether the account shares data anonymously with Google and others. writable

Methods

Use the methods below to list, get and update accounts. Provisioning new accounts is not currently supported via this API.

get
Gets a GTM account.
list
Lists all GTM accounts that a user has access to.
update
Updates a GTM account.