Creates the link between the Analytics account and the Google Marketing Platform organization.
User needs to be an org user, and admin on the Analytics account to create the link. If the account is already linked to an organization, user needs to unlink the account from the current organization, then try link again.
HTTP request
POST https://marketingplatformadmin.googleapis.com/v1alpha/{parent=organizations/*}/analyticsAccountLinks
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource where this Analytics account link will be created. Format: organizations/{org_id} |
Request body
The request body contains an instance of AnalyticsAccountLink
.
Response body
If successful, the response body contains a newly created instance of AnalyticsAccountLink
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/marketingplatformadmin.analytics.update