REST Resource: organizations.analyticsAccountLinks
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eAn \u003ccode\u003eAnalyticsAccountLink\u003c/code\u003e resource represents the connection between a Google Analytics account and a Google Marketing Platform organization.\u003c/p\u003e\n"],["\u003cp\u003eThis link has a verification state, which can be \u003ccode\u003eVERIFIED\u003c/code\u003e, \u003ccode\u003eNOT_VERIFIED\u003c/code\u003e, or \u003ccode\u003eUNSPECIFIED\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage these links by creating, deleting, listing, and updating the service level using provided methods.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnalyticsAccountLink\u003c/code\u003e resource contains key information like name, Analytics account details, display name, and link verification status.\u003c/p\u003e\n"]]],["This document outlines the `AnalyticsAccountLink` resource, representing a link between a Google Analytics account and a Google Marketing Platform organization. Key information includes: the resource name, the linked Analytics account's resource name, a display name, and the `linkVerificationState` (verified or not verified). Key actions include creating, deleting, and listing links, as well as updating the service level for a linked property. Three verification states are available: unspecified, verified, and not verified.\n"],null,["# REST Resource: organizations.analyticsAccountLinks\n\n- [Resource: AnalyticsAccountLink](#AnalyticsAccountLink)\n - [JSON representation](#AnalyticsAccountLink.SCHEMA_REPRESENTATION)\n- [LinkVerificationState](#LinkVerificationState)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AnalyticsAccountLink\n------------------------------\n\nA resource message representing the link between a Google Analytics account and a Google Marketing Platform organization.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"analyticsAccount\": string, \"displayName\": string, \"linkVerificationState\": enum (/marketing-platform/devguides/api/admin/v1/rest/v1alpha/organizations.analyticsAccountLinks#LinkVerificationState) } ``` |\n\n| Fields ||\n|-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Identifier. Resource name of this AnalyticsAccountLink. Note the resource ID is the same as the ID of the Analtyics account. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id} Example: \"organizations/xyz/analyticsAccountLinks/1234\" |\n| `analyticsAccount` | `string` Required. Immutable. The resource name of the AnalyticsAdmin API account. The account ID will be used as the ID of this AnalyticsAccountLink resource, which will become the final component of the resource name. Format: analyticsadmin.googleapis.com/accounts/{account_id} |\n| `displayName` | `string` Output only. The human-readable name for the Analytics account. |\n| `linkVerificationState` | `enum (`[LinkVerificationState](/marketing-platform/devguides/api/admin/v1/rest/v1alpha/organizations.analyticsAccountLinks#LinkVerificationState)`)` Output only. The verification state of the link between the Analytics account and the parent organization. |\n\nLinkVerificationState\n---------------------\n\nThe verification state of the link between a product account and a GMP organization.\n\n| Enums ||\n|----------------------------------------|-------------------------------------------------------------------------------|\n| `LINK_VERIFICATION_STATE_UNSPECIFIED` | The link state is unknown. |\n| `LINK_VERIFICATION_STATE_VERIFIED` | The link is established. |\n| `LINK_VERIFICATION_STATE_NOT_VERIFIED` | The link is requested, but hasn't been approved by the product account admin. |\n\n| Methods ------- ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|\n| ### [create](/marketing-platform/devguides/api/admin/v1/rest/v1alpha/organizations.analyticsAccountLinks/create) | Creates the link between the Analytics account and the Google Marketing Platform organization. |\n| ### [delete](/marketing-platform/devguides/api/admin/v1/rest/v1alpha/organizations.analyticsAccountLinks/delete) | Deletes the AnalyticsAccountLink, which detaches the Analytics account from the Google Marketing Platform organization. |\n| ### [list](/marketing-platform/devguides/api/admin/v1/rest/v1alpha/organizations.analyticsAccountLinks/list) | Lists the Google Analytics accounts link to the specified Google Marketing Platform organization. |\n| ### [setPropertyServiceLevel](/marketing-platform/devguides/api/admin/v1/rest/v1alpha/organizations.analyticsAccountLinks/setPropertyServiceLevel) | Updates the service level for an Analytics property. |"]]