Method: orders.lines.assignments.disapprove
Stay organized with collections
Save and categorize content based on your preferences.
Disapproves an existing assignment.
- Returns the updated assignment if successful.
- Returns error code
NOT_FOUND
if the assignment does not exist.
- Returns error code
INVALID_ARGUMENT
if disapproval is not set.
- Returns error code
FAILED_PRECONDITION
if state is not STATE_PENDING_REVIEW
.
HTTP request
POST https://dv360outofhomeseller.googleapis.com/v1beta1/{name=orders/*/lines/*/assignments/*}:disapprove
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. The name of the assignment to be rejected, for example: "orders/123/lines/321/assignments/456"
|
Request body
The request body contains data with the following structure:
JSON representation |
{
"disapproval": {
object (Disapproval )
}
} |
Fields |
disapproval |
object (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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["This document details the process for disapproving an existing assignment within the Display & Video 360 Out-of-Home Seller API."],["Disapproval requires a `POST` request to a specific URL, including the assignment name in the path."],["The request body must contain a `disapproval` object with relevant details for rejection at the line or ad unit level."],["Successful disapproval results in an updated assignment object returned in the response; various error codes indicate issues with the request or assignment state."],["Authorization using the `doubleclickbidmanager` OAuth scope is necessary to utilize this functionality."]]],["This API endpoint disapproves an existing assignment via a `POST` request to a specific URL, requiring a \"name\" path parameter for the assignment identifier. The request body must include \"disapproval\" details. Successful operations return the updated assignment. Errors include `NOT_FOUND` for nonexistent assignments, `INVALID_ARGUMENT` if disapproval isn't set, and `FAILED_PRECONDITION` for incorrect assignment states. Authorization requires the `doubleclickbidmanager` OAuth scope.\n"]]