Page Summary
-
This document details how to update an existing product using an HTTP PATCH request.
-
The update requires specifying the product's resource name in the path parameters and an
updateMaskin the query parameters to control which fields are updated. -
The request body should contain an instance of the
Productresource with the updated information. -
Successful updates return the updated
Productresource, while specific error codes are returned for non-existent products, invalid updates, or concurrent modifications. -
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 product.
- Returns the updated product if successful.
- Returns error code
NOT_FOUNDif the product does not exist. - Returns error code
INVALID_ARGUMENTif an immutable field is specified inupdateMask. - Returns error code
ABORTEDif the product was updated in the system after the provided updateTime timestamp.
HTTP request
PATCH https://dv360outofhomeseller.googleapis.com/v1beta1/{product.name=products/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
product.name |
The resource name of the product 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 Product.
Response body
If successful, the response body contains an instance of Product.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/doubleclickbidmanager
For more information, see the OAuth 2.0 Overview.