The Google Marketing Platform Admin API allows for programmatic access to the Google Marketing Platform configuration data. You can use the Google Marketing Platform Admin API to manage links between your Google Marketing Platform organization and Google Analytics.
Service: marketingplatformadmin.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document 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:
Service endpoint
A 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:
https://marketingplatformadmin.googleapis.com
REST Resource: v1alpha.organizations.analyticsAccountLinks
Methods | |
---|---|
create |
POST /v1alpha/{parent=organizations/*}/analyticsAccountLinks Creates the link between the Analytics account and the Google Marketing Platform organization. |
delete |
DELETE /v1alpha/{name=organizations/*/analyticsAccountLinks/*} Deletes the AnalyticsAccountLink, which detaches the Analytics account from the Google Marketing Platform organization. |
list |
GET /v1alpha/{parent=organizations/*}/analyticsAccountLinks Lists the Google Analytics accounts link to the specified Google Marketing Platform organization. |
setPropertyServiceLevel |
POST /v1alpha/{analyticsAccountLink=organizations/*/analyticsAccountLinks/*}:setPropertyServiceLevel Updates the service level for an Analytics property. |