Google Marketing Platform Admin API (marketingplatformadmin:v1alpha)

2024-03-01

4 new methods | New API

Additions

    Methods
  • marketingplatformadmin.organizations.analyticsAccountLinks.delete

      Description: Deletes the AnalyticsAccountLink, which detaches the Analytics account from the Google Marketing Platform organization. User needs to be an org user, and admin on the Analytics account in order to delete the link.

      Parameter Order: name

      Flat Path: v1alpha/organizations/{organizationsId}/analyticsAccountLinks/{analyticsAccountLinksId}

      HTTP Method: DELETE

      Path: v1alpha/{+name}

      Parameters:

        name

          Type: string

          Required: Yes

          Location: path

          Description: Required. The name of the Analytics account link to delete. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id}

          Pattern: ^organizations/[^/]+/analyticsAccountLinks/[^/]+$

      Scopes: https://www.googleapis.com/auth/marketingplatformadmin.analytics.update

  • marketingplatformadmin.organizations.analyticsAccountLinks.list

      Flat Path: v1alpha/organizations/{organizationsId}/analyticsAccountLinks

      Parameters:

        pageSize

          Type: integer

          Location: query

          Format: int32

          Description: Optional. The maximum number of Analytics account links to return in one call. The service may return fewer than this value. If unspecified, at most 50 Analytics account links will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

        pageToken

          Type: string

          Location: query

          Description: Optional. A page token, received from a previous ListAnalyticsAccountLinks call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAnalyticsAccountLinks` must match the call that provided the page token.

        parent

          Description: Required. The parent organization, which owns this collection of Analytics account links. Format: organizations/{org_id}

          Pattern: ^organizations/[^/]+$

          Location: path

          Required: Yes

          Type: string

      HTTP Method: GET

      Scopes:

    • https://www.googleapis.com/auth/marketingplatformadmin.analytics.read
    • https://www.googleapis.com/auth/marketingplatformadmin.analytics.update
    • Description: Lists the Google Analytics accounts link to the specified Google Marketing Platform organization.

      Parameter Order: parent

      Path: v1alpha/{+parent}/analyticsAccountLinks

  • marketingplatformadmin.organizations.analyticsAccountLinks.setPropertyServiceLevel

      Parameter Order: analyticsAccountLink

      Flat Path: v1alpha/organizations/{organizationsId}/analyticsAccountLinks/{analyticsAccountLinksId}:setPropertyServiceLevel

      Path: v1alpha/{+analyticsAccountLink}:setPropertyServiceLevel

      Parameters:

        analyticsAccountLink

          Pattern: ^organizations/[^/]+/analyticsAccountLinks/[^/]+$

          Required: Yes

          Type: string

          Description: Required. The parent AnalyticsAccountLink scope where this property is in. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id}

          Location: path

      HTTP Method: POST

      Description: Updates the service level for an Analytics property.

      Scopes: https://www.googleapis.com/auth/marketingplatformadmin.analytics.update

  • marketingplatformadmin.organizations.analyticsAccountLinks.create

      HTTP Method: POST

      Path: v1alpha/{+parent}/analyticsAccountLinks

      Scopes: https://www.googleapis.com/auth/marketingplatformadmin.analytics.update

      Description: 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.

      Parameter Order: parent

      Parameters:

        parent

          Location: path

          Type: string

          Pattern: ^organizations/[^/]+$

          Required: Yes

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

      Flat Path: v1alpha/organizations/{organizationsId}/analyticsAccountLinks