Method: contentCategories.patch

  • Updates an existing content category using patch semantics and requires a ContentCategory object in the request body.

  • The request utilizes the PATCH method and needs profileId and id as path and query parameters respectively.

  • Upon successful execution, the response returns an updated ContentCategory object.

  • Authorization is necessary using the https://www.googleapis.com/auth/dfatrafficking OAuth scope.

Updates an existing content category. This method supports patch semantics.

HTTP request

PATCH https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/contentCategories

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

Query parameters

Parameters
id

string (int64 format)

Required. ContentCategory ID.

Request body

The request body contains an instance of ContentCategory.

Response body

If successful, the response body contains an instance of ContentCategory.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/dfatrafficking