Google Marketing Platform Admin API
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eThe Google Marketing Platform Admin API provides programmatic access to Google Marketing Platform configuration data.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage the connection between your Google Marketing Platform organization and Google Analytics using this API.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries are recommended for interacting with the API, but detailed information is available for custom integrations.\u003c/p\u003e\n"],["\u003cp\u003eThe API uses a RESTful architecture and has a specific service endpoint for making requests.\u003c/p\u003e\n"],["\u003cp\u003eIt offers functionality for creating, deleting, listing, and updating the service level of links between Google Marketing Platform and Google Analytics accounts.\u003c/p\u003e\n"]]],[],null,["# Google Marketing Platform Admin API\n\nThe Google Marketing Platform Admin API allows for programmatic access to the Google Marketing Platform configuration data.\n\nYou can use the Google Marketing Platform Admin API to manage links between your Google Marketing Platform organization and Google Analytics.\n\n- [REST Resource: v1alpha.organizations.analyticsAccountLinks](#v1alpha.organizations.analyticsAccountLinks)\n\nService: marketingplatformadmin.googleapis.com\n----------------------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://marketingplatformadmin.googleapis.com/$discovery/rest?version=v1alpha\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://marketingplatformadmin.googleapis.com`\n\nREST Resource: [v1alpha.organizations.analyticsAccountLinks](/marketing-platform/devguides/api/admin/v1/rest/v1alpha/organizations.analyticsAccountLinks)\n---------------------------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [create](/marketing-platform/devguides/api/admin/v1/rest/v1alpha/organizations.analyticsAccountLinks/create) | `POST /v1alpha/{parent=organizations/*}/analyticsAccountLinks` 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) | `DELETE /v1alpha/{name=organizations/*/analyticsAccountLinks/*}` 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) | `GET /v1alpha/{parent=organizations/*}/analyticsAccountLinks` 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) | `POST /v1alpha/{analyticsAccountLink=organizations/*/analyticsAccountLinks/*}:setPropertyServiceLevel` Updates the service level for an Analytics property. |"]]