Method: sellers.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/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.
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, returning the updated assignment upon success."],["Requires the assignment to have a state of `STATE_PENDING_REVIEW` and returns errors if the assignment is not found or in the incorrect state."],["The request is made to a specific endpoint with the assignment name as a path parameter and an empty request body."],["Authorization is required using the `https://www.googleapis.com/auth/doubleclickbidmanager` OAuth scope."]]],[]]