REST Resource: accounts
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],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. |"]]