Page Summary
-
This page details how to update an existing line using a PATCH request to a specific URL.
-
The request uses path parameters to identify the specific line to be updated and query parameters, specifically
updateMask, to indicate which fields are being modified. -
The request body should contain an instance of the
Lineobject with the desired updates. -
A successful response will return the updated
Lineobject, while errors likeNOT_FOUNDorINVALID_ARGUMENTwill be returned for non-existent lines or attempts to modify immutable fields respectively. -
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
NOT_FOUNDif the line does not exist. - Returns error code
INVALID_ARGUMENTif an immutable field is specified inupdateMask.
HTTP request
PATCH https://dv360outofhomeseller.googleapis.com/v1beta1/{line.name=orders/*/lines/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
line.name |
Output only. The resource name of the line in the format: |
Query parameters
| Parameters | |
|---|---|
updateMask |
Required. The mask to control which fields to update. An immutable field cannot be specified here. 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.