ads
PATCH /v1/ads/connections/{connection_id}
Rename, pause (the account's kill switch), set modes or spend ceilings.
Authentication
Send an API key as a bearer token. The key must carry the ads.manage 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 PATCH https://api.zinndigital.com/v1/ads/connections/{connection_id} \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ }'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.manage; audit action ads.connection_update. status: paused stops every write to the account. modes sets off, approve (the default) or auto per action class. Ceilings are integer minor units of the account's own currency; a raise that would take the enabled daily budgets past daily_ceiling_minor, or a month of them (x 30.4) past monthly_ceiling_minor, is refused.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
connection_id (path) | string | Yes | — |
Request body
| Name | Type | Required | What it is |
|---|---|---|---|
label | string | No | — |
status | string<active, paused> | No | — |
modes | object | No | — |
daily_ceiling_minor | object | No | — |
monthly_ceiling_minor | object | No | — |
ceiling_currency | string | No | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | — |
org_id | string | Yes | — |
platform | AdsPlatform | Yes | An advertising platform (docs/1006; Reddit removed by the owner 2026-10-18). |
external_id | string | Yes | — |
login_external_id | string | Yes | The manager account it is reached through. |
label | string | Yes | — |
status | string<active, paused, disconnected> | Yes | — |
modes | AdsModes | Yes | The mode per action class. |
daily_ceiling_minor | object | Yes | — |
monthly_ceiling_minor | object | Yes | — |
ceiling_currency | string | Yes | — |
account_currency | string | Yes | The ad account's own ISO 4217 currency. |
pending_changes | integer | Yes | — |
created_at | string | Yes | — |
disconnected_at | object | Yes | — |
Errors this endpoint can return
401 · 403 · 404 · 422 · 429