Method: contentCategories.patch

  • This page details how to update an existing content category using the PATCH method.

  • The request requires a user profile ID as a path parameter and a content category ID as a query parameter.

  • The request and response bodies both contain an instance of ContentCategory.

  • The request requires the https://www.googleapis.com/auth/dfatrafficking OAuth scope for authorization.

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

HTTP request

PATCH https://dfareporting.googleapis.com/dfareporting/v5/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