Accounts
Stay organized with collections
Save and categorize content based on your preferences.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-09 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2021-11-09 UTC."}