Method: sellers.availabilityOrders.complete

Marks an existing availability order as complete.

  • Returns the updated availability order if successful.
  • Returns error code PERMISSION_DENIED if the user does not have access to the seller or seller id does not exist.
  • Returns error code NOT_FOUND if the availability order does not exist.
  • Returns error code FAILED_PRECONDITION if state is not STATE_PENDING.
  • Returns error code FAILED_PRECONDITION if any of the lines are in the STATE_PENDING state.

HTTP request

POST https://dv360outofhomeseller.googleapis.com/v1/{name=sellers/*/availabilityOrders/*}:complete

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

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.