ads
GET /v1/ads/connections/{connection_id}/imported
The connected Google Ads account's whole structure as last read (za-262).
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}/imported \
-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. Read on Temporal when the account is connected, on Refresh and weekly by the daily audit — never Google in the request. state is notRead until the first read, ok with import, or failed with error (a failed read never shows old figures as current). import carries the account's campaigns (status, channel, daily budget in micros, shared budget, bid strategy and its target, Google's bidding-strategy status, ad groups, keywords by match type, ads, negatives, location targets), its conversion actions and totals. Read only: nothing is written to the account. A connection on another network is a 422 refusal.adsconnect.platformNotSupported. history (za-263) is the account's OWN history read back month by month to the retention edge (400 days) after the first read — null until it starts; its figures are the ad-group totals now stored. plan (za-265) is the optimisation plan built from that history once it is read (and at most weekly after) — null until then: what WORKS (kept and protected from automatic pauses), the measured waste and the structural steps, every write a PENDING change in the approvals queue (change_id), never applied by itself.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
connection_id (path) | string | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
data | object | Yes | — |
Errors this endpoint can return
401 · 403 · 404 · 422 · 429