Targeting
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Targeting-Details für eine Wiederherstellungsaktion, z. B. Regionen, Android SDK-Level oder App-Versionen
JSON-Darstellung |
{
// Union field criteria can be only one of the following:
"regions": {
object (Regions )
},
"androidSdks": {
object (AndroidSdks )
},
"allUsers": {
object (AllUsers )
}
// End of list of possible types for union field criteria .
// Union field target_versions can be only one of the following:
"versionList": {
object (AppVersionList )
},
"versionRange": {
object (AppVersionRange )
}
// End of list of possible types for union field target_versions .
} |
Felder |
Union-Feld criteria . Kriterien für das Targeting der Wiederherstellungsaktion. Für criteria ist nur einer der folgenden Werte zulässig: |
regions |
object (Regions )
Das Targeting basiert auf der Region des Nutzerkontos.
|
androidSdks |
object (AndroidSdks )
Die Ausrichtung basiert auf den Android API-Ebenen der Geräte.
|
allUsers |
object (AllUsers )
Die Ausrichtung erfolgt auf alle Nutzer.
|
Union-Feld target_versions . App-Versionen, auf die die Wiederherstellungsaktion ausgerichtet ist. Erforderlich. Für target_versions ist nur einer der folgenden Werte zulässig: |
versionList |
object (AppVersionList )
Zielversionscodes als Liste.
|
versionRange |
object (AppVersionRange )
Codes der Zielversion als Bereich.
|
AppVersionList
Datenformat für eine Liste von App-Versionen.
JSON-Darstellung |
{
"versionCodes": [
string
]
} |
Felder |
versionCodes[] |
string (int64 format)
Liste der App-Versionscodes.
|
AppVersionRange
Datenformat für eine kontinuierliche Reihe von App-Versionen.
JSON-Darstellung |
{
"versionCodeStart": string,
"versionCodeEnd": string
} |
Felder |
versionCodeStart |
string (int64 format)
Niedrigste App-Version im Bereich, einschließlich.
|
versionCodeEnd |
string (int64 format)
Höchste App-Version im Bereich, einschließlich.
|
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003eTargeting details for a recovery action include regions, Android SDK levels, and app versions.\u003c/p\u003e\n"],["\u003cp\u003eRecovery actions can target specific app versions using either a list of version codes or a range of version codes.\u003c/p\u003e\n"],["\u003cp\u003eYou can target all users or filter by region or Android SDK level for recovery actions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAppVersionList\u003c/code\u003e defines target app versions using a list of version codes, while \u003ccode\u003eAppVersionRange\u003c/code\u003e uses a start and end version code for a continuous range.\u003c/p\u003e\n"]]],["This describes targeting options for recovery actions, utilizing JSON structures. Actions can target users based on `regions`, `androidSdks`, or `allUsers`. App versions can be targeted either as a `versionList` with specific `versionCodes` or as a `versionRange` defined by `versionCodeStart` and `versionCodeEnd`. `AppVersionList` and `AppVersionRange` provide formats to define version-specific targeting. A recovery action needs to target app versions, using one of the formats.\n"],null,["# Targeting\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [AppVersionList](#AppVersionList)\n - [JSON representation](#AppVersionList.SCHEMA_REPRESENTATION)\n- [AppVersionRange](#AppVersionRange)\n - [JSON representation](#AppVersionRange.SCHEMA_REPRESENTATION)\n\nTargeting details for a recovery action such as regions, android sdk levels, app versions etc.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `criteria` can be only one of the following: \"regions\": { object (/android-publisher/api-ref/rest/v3/Regions) }, \"androidSdks\": { object (/android-publisher/api-ref/rest/v3/AndroidSdks) }, \"allUsers\": { object (/android-publisher/api-ref/rest/v3/AllUsers) } // End of list of possible types for union field `criteria`. // Union field `target_versions` can be only one of the following: \"versionList\": { object (/android-publisher/api-ref/rest/v3/Targeting#AppVersionList) }, \"versionRange\": { object (/android-publisher/api-ref/rest/v3/Targeting#AppVersionRange) } // End of list of possible types for union field `target_versions`. } ``` |\n\n| Fields ||\n|----------------|---------------------------------------------------------------------------------------------------------------------------------|\n| Union field `criteria`. Criteria for targeting recovery action. `criteria` can be only one of the following: ||\n| `regions` | `object (`[Regions](/android-publisher/api-ref/rest/v3/Regions)`)` Targeting is based on the user account region. |\n| `androidSdks` | `object (`[AndroidSdks](/android-publisher/api-ref/rest/v3/AndroidSdks)`)` Targeting is based on android api levels of devices. |\n| `allUsers` | `object (`[AllUsers](/android-publisher/api-ref/rest/v3/AllUsers)`)` All users are targeted. |\n| Union field `target_versions`. App versions targeted by the recovery action. Required. `target_versions` can be only one of the following: ||\n| `versionList` | `object (`[AppVersionList](/android-publisher/api-ref/rest/v3/Targeting#AppVersionList)`)` Target version codes as a list. |\n| `versionRange` | `object (`[AppVersionRange](/android-publisher/api-ref/rest/v3/Targeting#AppVersionRange)`)` Target version codes as a range. |\n\nAppVersionList\n--------------\n\nData format for a list of app versions.\n\n| JSON representation |\n|----------------------------------------|\n| ``` { \"versionCodes\": [ string ] } ``` |\n\n| Fields ||\n|------------------|----------------------------------------------------------------------------------------------------------------|\n| `versionCodes[]` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` List of app version codes. |\n\nAppVersionRange\n---------------\n\nData format for a continuous range of app versions.\n\n| JSON representation |\n|------------------------------------------------------------------|\n| ``` { \"versionCodeStart\": string, \"versionCodeEnd\": string } ``` |\n\n| Fields ||\n|--------------------|----------------------------------------------------------------------------------------------------------------------------------|\n| `versionCodeStart` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Lowest app version in the range, inclusive. |\n| `versionCodeEnd` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Highest app version in the range, inclusive. |"]]