Page Summary
-
This page describes how to disapprove an existing assignment.
-
A successful disapproval returns the updated assignment.
-
Error codes are returned for non-existent assignments, missing disapproval details, or invalid states.
-
The HTTP request uses a POST method with a specific URL structure including path parameters.
-
The request body requires a
disapprovalobject, and the response body contains anAssignmentinstance if successful.
Disapproves an existing assignment.
- Returns the updated assignment if successful.
- Returns error code
NOT_FOUNDif the assignment does not exist. - Returns error code
INVALID_ARGUMENTif disapproval is not set. - Returns error code
FAILED_PRECONDITIONif state is notSTATE_PENDING_REVIEW.
HTTP request
POST https://dv360outofhomeseller.googleapis.com/v1/{name=sellers/*/orders/*/lines/*/assignments/*}:disapprove
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the assignment to be rejected, for example: "sellers/789/orders/123/lines/321/assignments/456" |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"disapproval": {
object ( |
| Fields | |
|---|---|
disapproval |
Required. The disapproval details for the assignment at the line or ad unit granularity. |
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.