AI-generated Key Takeaways
-
This page details how to insert a new campaign using a POST request to the specified URL.
-
The request requires a
profileIdas a path parameter, which is a string formatted as an int64. -
The request body should contain an instance of a Campaign object.
-
A successful response will return a newly created instance of a Campaign object.
-
The process requires the
https://www.googleapis.com/auth/dfatraffickingauthorization scope.
Inserts a new campaign.
HTTP request
POST https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/campaigns
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 Campaign.
Response body
If successful, the response body contains a newly created instance of Campaign.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfatrafficking