Method: sellers.orders.lines.create

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.