REST Resource: accounts

Resource: Account

Represents a Google Tag Manager Account.

JSON representation
{
  "path": string,
  "accountId": string,
  "name": string,
  "shareData": boolean,
  "fingerprint": string,
  "tagManagerUrl": string,
  "features": {
    object (Features)
  }
}
Fields
path

string

GTM Account's API relative path.

accountId

string

The Account ID uniquely identifies the GTM Account.

name

string

Account display name.

shareData

boolean

Whether the account shares data anonymously with Google and others. This flag enables benchmarking by sharing your data in an anonymous form. Google will remove all identifiable information about your website, combine the data with hundreds of other anonymous sites and report aggregate trends in the benchmarking service.

fingerprint

string

The fingerprint of the GTM Account as computed at storage time. This value is recomputed whenever the account is modified.

tagManagerUrl

string

Auto generated link to the tag manager UI

features

object (Features)

Read-only Account feature set

Features

JSON representation
{
  "supportUserPermissions": boolean,
  "supportMultipleContainers": boolean
}
Fields
supportUserPermissions

boolean

Whether this Account supports user permissions managed by GTM.

supportMultipleContainers

boolean

Whether this Account supports multiple Containers.

Methods

get

Gets a GTM Account.

list

Lists all GTM Accounts that a user has access to.

update

Updates a GTM Account.