Method: sellers.products.delete
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
既存の商品を削除します。
- 商品が存在しない場合、または商品が削除された場合は、エラーコード
NOT_FOUND を返します。
- 広告ユニットがこの商品に関連付けられている場合、エラーコード
FAILED_PRECONDITION を返します。
HTTP リクエスト
DELETE https://dv360outofhomeseller.googleapis.com/v1/{name=sellers/*/products/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
| パラメータ |
name |
string
必須。削除する商品。形式: sellers/{seller}/products/{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 document details the process of deleting a product via an HTTP `DELETE` request to a specific URL. The product to be deleted is identified by a `name` parameter in the URL path. The request body must be empty. A successful deletion returns a `Product` instance. Deletion errors include `NOT_FOUND` if the product doesn't exist or is deleted, and `FAILED_PRECONDITION` if ad units are linked. The request requires the `https://www.googleapis.com/auth/doubleclickbidmanager` OAuth scope.\n"]]