Method: applications.deviceTierConfigs.create
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-17 UTC.
[null,null,["Last updated 2024-12-17 UTC."],[[["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."]]],["This outlines creating a new device tier configuration for an app using a POST request to a specific URL. The request uses path parameters, specifically the app's `packageName`. It also utilizes a query parameter, `allowUnknownDevices` (boolean), to handle unknown device IDs. The request body must include a `DeviceTierConfig` instance, and upon success, the response body returns the newly created `DeviceTierConfig`. This operation requires `androidpublisher` OAuth scope authorization.\n"]]