Page Summary
-
This method updates an existing line and returns the updated line if successful.
-
The request uses the
PATCHHTTP method and specifies the line to update using a path parameter with the formatsellers/{seller}/orders/{order}/lines/{line}. -
A required
updateMaskquery parameter is used to control which fields of the line are updated. -
The request body should contain an instance of the
Lineresource with the desired updates. -
Authorization requires the
https://www.googleapis.com/auth/doubleclickbidmanagerOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Examples
Updates an existing line.
- Returns the updated 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
NOT_FOUNDif the line does not exist. - Returns error code
INVALID_ARGUMENTif an immutable field is specified inupdateMaskand a change is requested.
HTTP request
PATCH https://dv360outofhomeseller.googleapis.com/v1/{line.name=sellers/*/orders/*/lines/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
line.name |
The resource name of the line in the format: |
Query parameters
| Parameters | |
|---|---|
updateMask |
Required. The mask to control which fields to update. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of Line.
Response body
If successful, the response body contains an 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.