Page Summary
-
This document details how to update an existing order using a PATCH request.
-
The update process requires specifying which fields to update using an
updateMaskquery parameter. -
Successful updates return the modified order, while errors such as
NOT_FOUNDorINVALID_ARGUMENTmay occur for non-existent orders or attempts to modify immutable fields. -
The process utilizes path and query parameters, a request body containing the order data, and a response body that returns the updated order.
-
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 order.
- Returns the updated order if successful.
- Returns error code
NOT_FOUNDif the order does not exist. - Returns error code
INVALID_ARGUMENTif an immutable field is specified inupdateMask.
HTTP request
PATCH https://dv360outofhomeseller.googleapis.com/v1beta1/{order.name=orders/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
order.name |
Output only. The resource name of the order in the format: orders/{id}`. |
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 Order.
Response body
If successful, the response body contains an instance of Order.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/doubleclickbidmanager
For more information, see the OAuth 2.0 Overview.