REST Resource: edits.countryavailability

  • TrackCountryAvailability resource provides per-track country availability information, including sync status with production, targeted countries, and "rest of world" availability.

  • TrackTargetedCountry represents a single country targeted by a track using a two-letter CLDR country code.

  • Developers can use the get method to retrieve country availability information for their app tracks.

Resource: TrackCountryAvailability

Resource for per-track country availability information.

JSON representation
{
  "syncWithProduction": boolean,
  "countries": [
    {
      object (TrackTargetedCountry)
    }
  ],
  "restOfWorld": boolean
}
Fields
syncWithProduction

boolean

Whether this track's availability is synced with the default production track. See https://support.google.com/googleplay/android-developer/answer/7550024 for more information on syncing country availability with production.

Note that if this is true, the returned "countries" and "restOfWorld" fields will reflect the values for the default production track.

countries[]

object (TrackTargetedCountry)

A list of one or more countries where artifacts in this track are available.

This list includes all countries that are targeted by the track, even if only specific carriers are targeted in that country.

restOfWorld

boolean

Whether artifacts in this track are available to "rest of the world" countries.

TrackTargetedCountry

Representation of a single country where the contents of a track are available.

JSON representation
{
  "countryCode": string
}
Fields
countryCode

string

The country to target, as a two-letter CLDR code.

Methods

get

Gets country availability.

Error codes

The operations of this resource, return the following HTTP error codes:

Error code Reason Resolution
5xx Generic error in the Google Play server. Retry your request.

If the problem persists contact your Google Play account manager or submit a support request. Consider checking the Play Status Dashboard for any known outages.

409 Concurrency update error.

There was an attempt to update an object that is being updated. For example, a purchase is getting acknowledged by calling the Play Billing Library's acknowledgePurchase() method and by calling the Play Developer API's purchases.products.acknowledge at the same time.

Retry your request.