Method: sellers.products.patch

Updates an existing product.

  • Returns the updated product if successful.
  • Returns error code NOT_FOUND if the product does not exist.
  • Returns error code INVALID_ARGUMENT if an immutable field is specified in updateMask and 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

string

The resource name of the product in the format: sellers/{seller}/products/{product}. For example sellers/seller111/products/product123.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The mask to control which fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

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.