Method: inappproducts.batchDelete
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
アプリ内アイテム(管理対象アイテムまたは定期購入)を削除します。
更新スループットが最大になるように、ネストされたリクエストの latencyTolerance フィールドを PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT に設定します。
定期購入の削除にこのメソッドは使用しないでください。詳しくは、こちらの記事をご覧ください。
HTTP リクエスト
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts:batchDelete
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
packageName |
string
アプリのパッケージ名。
|
リクエスト本文
リクエストの本文には、次の構造のデータが含まれます。
フィールド |
requests[] |
object (InappproductsDeleteRequest )
個別の削除リクエスト。1 件以上のリクエストが必要です。最大 100 件のリクエストを含められます。すべてのリクエストの対象は異なるアプリ内アイテムにする必要があります。
|
レスポンスの本文
成功すると、レスポンスの本文は空の JSON オブジェクトになります。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidpublisher
InappproductsDeleteRequest
フィールド |
packageName |
string
アプリのパッケージ名。
|
sku |
string
アプリ内アイテムの固有識別子。
|
latencyTolerance |
enum (ProductUpdateLatencyTolerance )
省略可。このアイテムの更新の伝播に関する遅延の許容度。デフォルトは latency-sensitive(遅延の影響を受けやすい)です。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-12-17 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"]],["最終更新日 2024-12-17 UTC。"],[[["Deletes in-app products (managed products or subscriptions) in batches using the `batchDelete` method."],["Requires providing a list of delete requests, each specifying the package name and SKU of the in-app product to be deleted."],["Supports setting latency tolerance for product update propagation, potentially improving update throughput."],["Uses the `androidpublisher` OAuth scope for authorization."],["It's crucial to note that this method should not be used to delete subscriptions, as per the linked article."]]],["This document details how to batch delete in-app products (excluding subscriptions) via the Android Publisher API. Key actions involve sending a `POST` request to `https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/inappproducts:batchDelete`. The request body must include an array of `InappproductsDeleteRequest` objects, each specifying the `packageName`, `sku`, and optional `latencyTolerance`. The API uses `gRPC Transcoding`. Successful deletion returns an empty JSON object. Authorization requires the `androidpublisher` OAuth scope.\n"]]