Method: sellers.products.patch
Stay organized with collections
Save and categorize content based on your preferences.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["This guide explains how to update an existing product using the Display & Video 360 Out-of-Home Seller API."],["You can update specific fields of a product by providing a field mask in the query parameters."],["The request must include the product's resource name in the path and the updated product data in the request body."],["Successful updates will return the updated product, while errors like `NOT_FOUND` or `INVALID_ARGUMENT` indicate issues with the request."],["Authorization requires the `https://www.googleapis.com/auth/doubleclickbidmanager` OAuth scope."]]],["This documentation details updating a product via a `PATCH` request to a specific URL, using gRPC Transcoding syntax. The `product.name` path parameter identifies the product. The `updateMask` query parameter specifies which product fields to modify. The request body contains the updated `Product` data. Success returns the updated `Product`; errors return `NOT_FOUND` or `INVALID_ARGUMENT`. Authorization requires the `https://www.googleapis.com/auth/doubleclickbidmanager` OAuth scope.\n"]]