update_track_countries
Set which countries/regions a release track serves — the precondition for a track's first rollout. CRITICAL, measured 2026-10-28: pass at least one explicit targeted_countries value. target_rest_of_world="true" ALONE writes the rest-of-world flag and leaves the country list empty, and Play's release validator then refuses every rollout with "No countries or regions have been selected for this track" — surfacing from start_rollout as a bare FAILED_PRECONDITION with no detail, while get_setup_state still reports closed_countries/prod_countries as complete. For a worldwide launch pass one real market in targeted_countries AND target_rest_of_world="true". Does not publish anything. Ask the user which countries; never pick for them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_id | Yes | Numeric track id — call list_tracks first. Not the alias like "production". | |
| play_app_id | Yes | Numeric Play app id from the Play Console URL (.../app/<this>/...). NOT the package name. | |
| developer_id | Yes | Numeric Play Console developer id (from the Play Console URL). | |
| targeted_countries | No | Comma-separated ISO 3166-1 alpha-2 codes, e.g. "NG,GH,KE". These are the countries the app becomes downloadable in. | |
| google_account_email | Yes | The signed-in Google account email that owns this Play Console developer account. Call list_accounts first and confirm with the user — do not guess. | |
| notification_message | No | Short user-facing sentence for this action if the follow-up reply fails. Plain text only; do not mention template syntax or variable names. | |
| target_rest_of_world | No | "true" also serves every other country/region Play allows — a worldwide launch, so confirm it. "false" (default) serves only targeted_countries. |