Page Summary
-
This method updates an existing product and returns the updated product if successful.
-
The request uses the
PATCHHTTP method and specifies the product to update using its resource name in the URL. -
The
updateMaskquery parameter is required to specify which fields to update in the product. -
The request and response bodies both contain an instance of a
Productobject. -
This operation 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 inupdateMaskand a change is requested.
HTTP request
PATCH https://dv360outofhomeseller.googleapis.com/v1/{product.name=sellers/*/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. 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.