Method: sellers.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/v1/{name=sellers/*/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: "sellers/789/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 endpoint disapproves an existing assignment, returning the updated assignment if successful."],["It requires a `POST` request to the specified URL with the assignment name in the path."],["The request body must include disapproval details for the assignment."],["Potential error codes include `NOT_FOUND`, `INVALID_ARGUMENT`, and `FAILED_PRECONDITION`."],["Authorization requires the `https://www.googleapis.com/auth/doubleclickbidmanager` scope."]]],["This document outlines how to disapprove an existing assignment via an HTTP POST request to a specific endpoint. The request, targeting a resource identified by its unique `name` parameter, requires a JSON body detailing the `disapproval`. Successful disapproval returns the updated `Assignment`; otherwise, it returns `NOT_FOUND`, `INVALID_ARGUMENT`, or `FAILED_PRECONDITION` errors based on the issue. Authorization is enforced using the `https://www.googleapis.com/auth/doubleclickbidmanager` OAuth scope.\n"]]