Google Marketing Platform Admin API
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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. |"]]