Method: sellers.orders.lines.create
Stay organized with collections
Save and categorize content based on your preferences.
Creates a new line.
- Returns the newly created line if successful.
- Returns error code
PERMISSION_DENIED
if the user does not have access to the seller or seller id does not exist
- Returns error code
INVALID_ARGUMENT
if invalid fields are provided.
HTTP request
POST https://dv360outofhomeseller.googleapis.com/v1/{parent=sellers/*/orders/*}/lines
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The parent order name under which the line will be created. Format: sellers/{seller}/orders/{order}
|
Request body
The request body contains an instance of Line
.
Response body
If successful, the response body contains a newly created instance of Line
.
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."],[[["Creates a new line under a specified order for a given seller in Display & Video 360 Out-of-Home."],["Requires the `https://www.googleapis.com/auth/doubleclickbidmanager` OAuth scope for authorization."],["Returns the newly created line if successful, or an error if permissions are denied or invalid arguments are provided."],["Uses a POST request to `https://dv360outofhomeseller.googleapis.com/v1/{parent=sellers/*/orders/*}/lines` with the parent order name in the path."],["The request body should contain a `Line` object, and a successful response will also contain a `Line` object representing the new line."]]],["This describes the process of creating a new line via a POST request to a specific URL. The URL requires a parent order path parameter. The request body must contain a \"Line\" instance. Successful requests return the newly created \"Line\"; failures return `PERMISSION_DENIED` for access issues or `INVALID_ARGUMENT` for bad fields. Authorization needs the `doubleclickbidmanager` OAuth scope. This uses gRPC Transcoding and outlines the HTTP request, path parameters, request and response body specifications.\n"]]