Method: edits.bundles.upload
コレクションでコンテンツを整理 必要に応じて、コンテンツの保存と分類を行います。
この編集に新しい Android App Bundle をアップロードします。Google API クライアント ライブラリを使用している場合は、このエンドポイントを呼び出す前に HTTP リクエストのタイムアウトを増やしてください(タイムアウトを 2 分にすることをおすすめします)。Java の例については、タイムアウトとエラーをご覧ください。
HTTP リクエスト
- メディア アップロード リクエスト用のアップロード URI:
POST https://androidpublisher.googleapis.com/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles
- メタデータ URI(メタデータのみのリクエストの場合):
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
packageName | string アプリのパッケージ名。 |
editId | string 編集の ID。 |
クエリ パラメータ
パラメータ |
ackBundleInstallationWarning (deprecated) | boolean 非推奨です。インストールの警告は表示されなくなったため、このフィールドを設定する必要はありません。 |
deviceTierConfigId | string 成果物(APK)の生成に使用されるデバイス階層設定(DTC)。DTC の ID または「LATEST」が含まれます。表示されます。 |
リクエスト本文
リクエストの本文には BundlesUploadRequestBody
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には Bundle
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidpublisher
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 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-26 UTC。"],[[["Uploads a new Android App Bundle to the specified edit using either media upload or metadata-only requests."],["Requires providing the package name and edit ID as path parameters in the request URL."],["Optionally allows setting query parameters for device tier config and acknowledging bundle installation warnings (deprecated)."],["Utilizes the `BundlesUploadRequestBody` in the request body and returns a `Bundle` object in the response upon success."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document outlines how to upload an Android App Bundle to an edit using the Android Publisher API. Key actions include sending a `POST` request to a specified URI, which can be a media upload URI or a metadata-only URI. Required path parameters are `packageName` and `editId`. Optional query parameters include `deviceTierConfigId`, while `ackBundleInstallationWarning` is deprecated. The request body should contain `BundlesUploadRequestBody`, and a successful response will provide a `Bundle` instance. The operation requires the `androidpublisher` authorization scope. It is advised to increase the HTTP request timeout to 2 minutes.\n"]]