Page Summary
-
This page details how to create a new line using an HTTP POST request to the specified URL.
-
Creating a new line requires providing the parent order name as a path parameter.
-
The request body should contain an instance of Line, and if successful, the response body will return a new Line instance.
-
Successful creation returns the new line, while errors like
PERMISSION_DENIEDorINVALID_ARGUMENTindicate access issues or invalid input. -
Authorization for this action requires the
https://www.googleapis.com/auth/doubleclickbidmanagerOAuth scope.
Creates a new line.
- Returns the newly created line if successful.
- Returns error code
PERMISSION_DENIEDif the user does not have access to the seller or seller id does not exist - Returns error code
INVALID_ARGUMENTif 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 |
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.