Method: orders.lines.assignments.approve
Stay organized with collections
Save and categorize content based on your preferences.
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/v1beta1/{name=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: "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.
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."],[[["Approves an existing assignment with the provided name, transitioning it from a pending review state to an approved state."],["Requires an HTTP POST request to the specified URL, including the assignment name in the path parameters."],["Utilizes OAuth 2.0 for authorization, necessitating the `https://www.googleapis.com/auth/doubleclickbidmanager` scope."],["Returns the updated assignment upon successful approval or an error code if the assignment is not found or is not in the pending review state."],["The request body should be empty, while the response body contains the Assignment object if the operation is successful."]]],[]]