Method: contentCategories.get

  • Retrieves a specific content category using its unique ID within a specified user profile.

  • Utilizes an HTTP GET request with path parameters for profile ID and content category ID.

  • Requires an empty request body and returns the ContentCategory object if successful.

  • Needs authorization with the dfatrafficking scope for access.

Gets one content category by ID.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

id

string (int64 format)

Content category ID.

Request body

The request body must be empty.

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