ads

GET /v1/ads/connections/{connection_id}/diagnosis

Every campaign's "not showing — why" and budget pacing (za-76).

All ads endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

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}/diagnosis \
  -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. One row per enabled campaign of the connection — the house account and every customer connection alike — refreshed by the connection's daily job (docs/1006 §78), never a network call in the request. reasons are most decisive first: held (the whole ad account is on hold), policy (ads disapproved, limited by policy or under review), not_eligible (nothing in it can serve), new (live under 3 days, too early to judge), budget / rank (the share of impressions lost to the budget or to ad rank, at least 20%, bigger first), learning (the bid strategy is learning — the network's status, or our bid-ladder freeze until frozen_until), no_auctions (no impression share: nobody searched), low_volume (eligible, few searches). state is held, not_showing, limited, new or showing, worst first. Pacing: today_micros against budget_micros (today_pct), the month's spend so far (month_micros) and its projection (projection_micros = month so far + the campaign's own 7-day daily rate × days_left) against what the daily budget plans for the month (plan_micros); pace is over (above 105%), under (below 50%, from the 3rd of the month), on_track, shared (a shared budget: no per-campaign verdict) or no_budget. why is the plain English sentence the daily e-mail carries; the dashboard words each reason in the reader's language. An account with no reading yet answers state: none.

Parameters

NameTypeRequiredWhat it is
connection_id (path)stringYes—

Response

NameTypeRequiredWhat it is
dataAdsCampaignDiagnosis[]Yes—
statestring<held, not_showing, limited, new, showing, none>Yes—
currencystringYesISO 4217 code of the account.
read_atobjectYes—

Errors this endpoint can return

401 · 403 · 404 · 429