AI-generated Key Takeaways
-
This page details how to insert a new content category using a POST request to a specific URL.
-
The request requires a
profileIdpath parameter, which is a string in int64 format. -
The request body should contain an instance of
ContentCategory. -
A successful response will contain a newly created instance of
ContentCategory. -
The request requires authorization with the
https://www.googleapis.com/auth/dfatraffickingOAuth scope.
Inserts a new content category.
HTTP request
POST https://dfareporting.googleapis.com/dfareporting/v5/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