Page Summary
-
This document outlines how to create a new order using an HTTP POST request.
-
Creating an order requires a
parentpath parameter specifying the seller. -
The request body should contain an instance of an Order.
-
A successful response returns the newly created order, while errors like
PERMISSION_DENIEDorINVALID_ARGUMENTmay occur. -
Authorization requires the
https://www.googleapis.com/auth/doubleclickbidmanagerOAuth scope.
Creates a new order.
- Returns the newly created order if successful.
- Returns error code
PERMISSION_DENIEDif the user does not have access to the seller or seller id does not exist. - Returns error code
INVALID_ARGUMENTif invalid fields are provided.
HTTP request
POST https://dv360outofhomeseller.googleapis.com/v1/{parent=sellers/*}/orders
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent seller, under which the order will be created. Format: sellers/{seller} |
Request body
The request body contains an instance of Order.
Response body
If successful, the response body contains a newly created instance of Order.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/doubleclickbidmanager
For more information, see the OAuth 2.0 Overview.