ads
GET /v1/ads/connections/{connection_id}/next-country
The countries this account could open next, ranked, and the one approve-only proposal (za-N10).
Authentication
Send an API key as a bearer token. The key must carry the ads.view permission; a key without it is refused with 403, not 404.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X GET https://api.zinndigital.com/v1/ads/connections/{connection_id}/next-country \
-H "Authorization: Bearer zdk_live_…"Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
Gated on ads.view. The latest reading the connection's audit stored (docs/1006 §NEXTCOUNTRY; refreshed at most every cadence_days days) — never a network call in the request. Evidence is FIRST-PARTY only: for the platform's own account our billing (paid, non-refunded invoices NET in USD and sign-ups, by billing country, basis billing); for a customer's account their product's upgrades and sign-ups on this connection (basis product). A candidate is a country Google can target that brought evidence and that no campaign reaches yet. searches and cpc_micros come from Google's Keyword Planner for the core campaign's keywords (the searches-weighted mid-point of the top-of-page bid range, account currency micros). Country verdict: open (qualifies; the best is proposed), notBuying (buying countries only, no sale), fewSignals, excluded, noSearchVolume, noCoreKeywords. risks: signupsOnly, thinEvidence, noSearchVolume, cpcAboveAccount, adsNotInLocalLanguage, noVatRateOnFile. tax (platform account only): regime uk / eu_oss / outside and the rate_bps row in force. outcome: queued, alreadyProposed, proposalWaiting, campaignsOff, refused:adBelowGood, refused:collision (with the collisions dropped), noAdGroups, or empty. state noFirstParty when the window holds no first-party evidence at all (nothing is judged); nothingNew when every evidenced country is already reached. reading is null before the first audit. The proposal is ONE pending change in the connection's change queue (pending_change_id), approve-only: never approved by the autopilot, whatever the modes say.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
connection_id (path) | string | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
data | AdsNextCountry | Yes | za-N10 (docs/1006 §NEXTCOUNTRY) — the next-country advisor. |
Errors this endpoint can return
401 · 403 · 404 · 429