Method: sellers.products.patch
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
既存の商品を更新します。
- 成功した場合は、更新された商品を返します。
- 商品が存在しない場合は、エラーコード
NOT_FOUND を返します。
updateMask で不変フィールドが指定され、変更がリクエストされた場合は、エラーコード INVALID_ARGUMENT を返します。
HTTP リクエスト
PATCH https://dv360outofhomeseller.googleapis.com/v1/{product.name=sellers/*/products/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
| パラメータ |
product.name |
string
商品のリソース名。形式は sellers/{seller}/products/{product} です。例: sellers/seller111/products/product123
|
クエリ パラメータ
| パラメータ |
updateMask |
string (FieldMask format)
必須。更新するフィールドを制御するためのマスク。 完全修飾フィールド名のカンマ区切りリストです。(例: "user.displayName,photo")。
|
リクエストの本文
リクエストの本文には Product のインスタンスが含まれています。
レスポンスの本文
成功した場合、レスポンスの本文には Product のインスタンスが含まれます。
認証スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/doubleclickbidmanager
詳細については、OAuth 2.0 の概要をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-25 UTC。"],[],["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"]]