AI-generated Key Takeaways
-
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/dfatraffickingauthorization 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 |
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