REST Resource: organizations.analyticsAccountLinks
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]