REST Resource: organizations.analyticsAccountLinks
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\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. |"]]