Edits.bundles: upload

Uploads a new Android App Bundle to this edit. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See: https://developers.google.com/api-client-library/java/google-api-java-client/errors for an example in java.

This method supports an /upload URI and accepts uploaded media with the following characteristics:

  • Maximum file size: 2GB
  • Accepted Media MIME types: application/octet-stream


HTTP request

POST https://www.googleapis.com/upload/androidpublisher/v3/applications/packageName/edits/editId/bundles


Parameter name Value Description
Path parameters
editId string Unique identifier for this edit.
packageName string Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
Required query parameters
uploadType string The type of upload request to the /upload URI. Acceptable values are:
  • media - Simple upload. Upload the media data.
  • resumable - Resumable upload. Upload the file in a resumable fashion, using a series of at least two requests.
Optional query parameters
ackBundleInstallationWarning boolean Must be set to true if the bundle installation may trigger a warning on user devices (for example, if installation size may be over a threshold, typically 100 MB).


This request requires authorization with the following scope:


For more information, see the authentication and authorization page.

Request body

Do not supply a request body with this method.


If successful, this method returns an Edits.bundles resource in the response body.