REST Resource: accounts
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]