Method: contentCategories.insert

  • This document outlines how to insert a new content category using an HTTP POST request.

  • The request URL includes a user profile ID as a path parameter.

  • The request body contains an instance of a ContentCategory.

  • A successful response body will contain the newly created ContentCategory instance.

  • This operation requires the https://www.googleapis.com/auth/dfatrafficking authorization scope.

Inserts a new content category.

HTTP request

POST 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.

Request body

The request body contains an instance of ContentCategory .

Response body

If successful, the response body contains a newly created instance of ContentCategory .

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/dfatrafficking
Create a Mobile Website
View Site in Mobile | Classic
Share by: