v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1381624.2 KB
organizations

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.

post/v1alpha/{+parent}/analyticsAccountLinks

Path parameters

parentstring required

Required. The parent resource where this Analytics account link will be created. Format: organizations/{org_id}

Request body

analyticsAccountstring

Required. Immutable. The resource name of the AnalyticsAdmin API account. The account ID will be used as the ID of this AnalyticsAccountLink resource, which will become the final component of the resource name. Format: analyticsadmin.googleapis.com/accounts/{account_id}

displayNamestring

Output only. The human-readable name for the Analytics account.

linkVerificationState'LINK_VERIFICATION_STATE_UNSPECIFIED' | 'LINK_VERIFICATION_STATE_VERIFIED' | 'LINK_VERIFICATION_STATE_NOT_VERIFIED'

Output only. The verification state of the link between the Analytics account and the parent organization.

namestring

Identifier. Resource name of this AnalyticsAccountLink. Note the resource ID is the same as the ID of the Analtyics account. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id} Example: "organizations/xyz/analyticsAccountLinks/1234"

Response

Successful response