AI-generated Key Takeaways
-
Display & Video 360 API v2 is deprecated and this documentation details the creation of new insertion orders using the API.
-
To create an insertion order, send a POST request to the specified endpoint with the advertiser ID.
-
The request body must contain an InsertionOrder object as defined in the provided link.
-
If the request is successful, the API will return the newly created InsertionOrder object.
-
Users need to have the
https://www.googleapis.com/auth/display-video
OAuth scope to access this functionality.
Creates a new insertion order. Returns the newly created insertion order if successful.
HTTP request
POST https://displayvideo.googleapis.com/v2/advertisers/{insertionOrder.advertiserId}/insertionOrders
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
insertionOrder.advertiserId |
Output only. The unique ID of the advertiser the insertion order belongs to. |
Request body
The request body contains an instance of InsertionOrder
.
Response body
If successful, the response body contains a newly created instance of InsertionOrder
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.