AI-generated Key Takeaways
-
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.updateauthorization 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 | |
|---|---|
analyticsAccountLink |
Required. The parent AnalyticsAccountLink scope where this property is in. Format: organizations/{org_id}/analyticsAccountLinks/{analytics_account_link_id} |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"analyticsProperty": string,
"serviceLevel": enum ( |
| Fields | |
|---|---|
analyticsProperty |
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 |
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