Method: contentCategories.get

  • This document outlines how to retrieve a single content category by its ID using an HTTP GET request.

  • The request requires specifying a user profile ID and the content category ID in the URL path.

  • The request body should be empty, and a successful response will contain a ContentCategory object.

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

Gets one content category by ID.

HTTP request

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