Method: edits.bundles.upload

  • This API endpoint is used to upload a new Android App Bundle to an existing edit.

  • It's recommended to increase the HTTP request timeout when using Google API client libraries with this endpoint.

  • The API supports both media upload and metadata-only requests using different URIs.

  • Required path parameters include the package name and the edit identifier.

  • The response body contains an instance of Bundle upon successful upload.

  • This API requires the https://www.googleapis.com/auth/androidpublisher authorization scope.

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 Timeouts and Errors for an example in java.

HTTP request

  • Upload URI, for media upload requests:
    POST https://androidpublisher.googleapis.com/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles
  • Metadata URI, for metadata-only requests:
    POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
packageName

string

Package name of the app.

editId

string

Identifier of the edit.

Query parameters

Parameters
ackBundleInstallationWarning
(deprecated)

boolean

Deprecated. The installation warning has been removed, it's not necessary to set this field anymore.

deviceTierConfigId

string

Device tier config (DTC) to be used for generating deliverables (APKs). Contains id of the DTC or "LATEST" for last uploaded DTC.

Request body

The request body contains an instance of BundlesUploadRequestBody.

Response body

If successful, the response body contains an instance of Bundle.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/androidpublisher