Method: sellers.orders.lines.create

  • 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_DENIED or INVALID_ARGUMENT indicate access issues or invalid input.

  • Authorization for this action requires the https://www.googleapis.com/auth/doubleclickbidmanager OAuth scope.

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.