Method: applications.deviceTierConfigs.create

  • This API endpoint is used to create a new device tier config for an app.

  • The request is made using an HTTP POST request to a specific URL that includes the package name of the app as a path parameter.

  • Optional query parameters can be included to control behavior, such as allowing unknown device IDs.

  • The request and response bodies contain instances of the DeviceTierConfig object.

  • Authorization requires the https://www.googleapis.com/auth/androidpublisher OAuth scope.

Creates a new device tier config for an app.

HTTP request

POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/deviceTierConfigs

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
packageName

string

Package name of the app.

Query parameters

Parameters
allowUnknownDevices

boolean

Whether the service should accept device IDs that are unknown to Play's device catalog.

Request body

The request body contains an instance of DeviceTierConfig.

Response body

If successful, the response body contains a newly created instance of DeviceTierConfig.

Authorization scopes

Requires the following OAuth scope:

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