Google Marketing Platform Admin API
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[[["\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. |"]]