Method: sellers.orders.lines.assignments.approve

  • This document provides a reference for approving an existing assignment using a POST HTTP request.

  • The request requires a specific path parameter for the assignment name and an empty request body.

  • A successful response returns the updated assignment, while error codes indicate the assignment was not found or is not in the correct state.

  • Authorization requires the https://www.googleapis.com/auth/doubleclickbidmanager OAuth scope.

Approves an existing assignment.

  • Returns the updated assignment if successful.
  • Returns error code NOT_FOUND if the assignment does not exist.
  • Returns error code FAILED_PRECONDITION if state is not STATE_PENDING_REVIEW.

HTTP request

POST https://dv360outofhomeseller.googleapis.com/v1/{name=sellers/*/orders/*/lines/*/assignments/*}:approve

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the assignment to be approved, for example: "sellers/789/orders/123/lines/321/assignments/456"

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Assignment.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/doubleclickbidmanager

For more information, see the OAuth 2.0 Overview.