Method: organizations.analyticsAccountLinks.setPropertyServiceLevel

  • This API updates the service level for an Analytics property within a specified Analytics account link.

  • The request requires specifying the Analytics property and the desired service level (standard or premium).

  • Users need the https://www.googleapis.com/auth/marketingplatformadmin.analytics.update authorization scope to make this request.

  • A successful request will return an empty response body.

  • The endpoint uses gRPC Transcoding and expects a POST request with path and request body parameters as detailed in the documentation.

Updates the service level for an Analytics property.

HTTP request

POST https://marketingplatformadmin.googleapis.com/v1alpha/{analyticsAccountLink=organizations/*/analyticsAccountLinks/*}:setPropertyServiceLevel

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters

Request body

The request body contains data with the following structure:

JSON representation
{
  "analyticsProperty": string,
  "serviceLevel": enum (AnalyticsServiceLevel)
}
Fields
analyticsProperty

string

Required. The Analytics property to change the ServiceLevel setting. This field is the name of the Google Analytics Admin API property resource.

Format: analyticsadmin.googleapis.com/properties/{property_id}

serviceLevel

enum (AnalyticsServiceLevel)

Required. The service level to set for this property.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

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

AnalyticsServiceLevel

Various levels of service for Google Analytics.

Enums
ANALYTICS_SERVICE_LEVEL_UNSPECIFIED Service level unspecified.
ANALYTICS_SERVICE_LEVEL_STANDARD The standard version of Google Analytics.
ANALYTICS_SERVICE_LEVEL_360 The premium version of Google Analytics.