Method: organizations.analyticsAccountLinks.setPropertyServiceLevel

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.