- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- TargetingUpdate
- Try it!
Incrementally update targeting for a recovery action. Note that only the criteria selected during the creation of recovery action can be expanded.
HTTP request
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:addTargeting
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
packageName |
Required. Package name of the app for which recovery action is to be updated. |
appRecoveryId |
Required. ID corresponding to the app recovery action. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"targetingUpdate": {
object ( |
Fields | |
---|---|
targetingUpdate |
Specifies targeting updates such as regions, android sdk versions etc. |
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidpublisher
TargetingUpdate
Update type for targeting. Note it is always a subset Targeting.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field criteria . Criteria for targeting in recovery action. Note that unless the criteria is not all_users, the criteria should always be the same as what was used during creation of app recovery action. Otherwise the update is rejected. In case criteria was previously set to target all_users, targeting update is impossible. In case the target group cannot be expanded as per the request, an error is thrown. criteria can be only one of the following: |
|
regions |
Additional regions are targeted by the recovery action. |
androidSdks |
Additional android sdk levels are targeted by the recovery action. |
allUsers |
All users are targeted. |