Method: applications.deviceTierConfigs.create

  • Creates a new device tier configuration for a specified Android app using an HTTP POST request.

  • The request requires the app's package name as a path parameter and allows for optional query parameters like allowUnknownDevices.

  • Request and response bodies utilize the DeviceTierConfig object to define the configuration details.

  • Authorization is essential, necessitating 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