Page Summary
-
This method marks an existing availability order as complete.
-
It returns the updated availability order upon success.
-
Various error codes are returned depending on issues like permissions, order existence, or incorrect state.
-
The HTTP request uses a POST method with a specific URL format and requires an empty request body.
-
Authorization requires the
https://www.googleapis.com/auth/doubleclickbidmanagerOAuth scope.
Marks an existing availability order as complete.
- Returns the updated availability 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
NOT_FOUNDif the availability order does not exist. - Returns error code
FAILED_PRECONDITIONif state is notSTATE_PENDING. - Returns error code
FAILED_PRECONDITIONif any of the lines are in theSTATE_PENDINGstate.
HTTP request
POST https://dv360outofhomeseller.googleapis.com/v1/{name=sellers/*/availabilityOrders/*}:complete
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the availability order to be marked as complete. Format: sellers/{seller}/availabilityOrders/{availability_order}" |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of AvailabilityOrder.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/doubleclickbidmanager
For more information, see the OAuth 2.0 Overview.