REST Resource: accounts
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-25 UTC.
[null,null,["Последнее обновление: 2025-07-25 UTC."],[],[],null,["# REST Resource: accounts\n\n- [Resource: Account](#Account)\n - [JSON representation](#Account.SCHEMA_REPRESENTATION)\n- [Features](#Features)\n - [JSON representation](#Features.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Account\n-----------------\n\nRepresents a Google Tag Manager Account.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"path\": string, \"accountId\": string, \"name\": string, \"shareData\": boolean, \"fingerprint\": string, \"tagManagerUrl\": string, \"features\": { object (/tag-platform/tag-manager/api/reference/rest/v2/accounts#Features) } } ``` |\n\n| Fields ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `path` | `string` GTM Account's API relative path. |\n| `accountId` | `string` The Account ID uniquely identifies the GTM Account. |\n| `name` | `string` Account display name. |\n| `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. |\n| `fingerprint` | `string` The fingerprint of the GTM Account as computed at storage time. This value is recomputed whenever the account is modified. |\n| `tagManagerUrl` | `string` Auto generated link to the tag manager UI |\n| `features` | `object (`[Features](/tag-platform/tag-manager/api/reference/rest/v2/accounts#Features)`)` Read-only Account feature set |\n\nFeatures\n--------\n\n| JSON representation |\n|-------------------------------------------------------------------------------------|\n| ``` { \"supportUserPermissions\": boolean, \"supportMultipleContainers\": boolean } ``` |\n\n| Fields ||\n|-----------------------------|--------------------------------------------------------------------------|\n| `supportUserPermissions` | `boolean` Whether this Account supports user permissions managed by GTM. |\n| `supportMultipleContainers` | `boolean` Whether this Account supports multiple Containers. |\n\n| Methods ------- ||\n|-------------------------------------------------------------------------------|---------------------------------------------------|\n| ### [get](/tag-platform/tag-manager/api/reference/rest/v2/accounts/get) | Gets a GTM Account. |\n| ### [list](/tag-platform/tag-manager/api/reference/rest/v2/accounts/list) | Lists all GTM Accounts that a user has access to. |\n| ### [update](/tag-platform/tag-manager/api/reference/rest/v2/accounts/update) | Updates a GTM Account. |"]]