Method: availabilityOrders.complete

Marks an existing availability order as complete.

  • Returns the updated availability order if successful.
  • 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/v1beta1/{name=availabilityOrders/*}:complete

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the availability order to be marked as complete, for example: "availabilityOrders/123"

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.