ads
POST /v1/ads/changes/{change_id}/{action}
Approve, reject, undo, withdraw, or allow a rejected change again.
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 POST https://api.zinndigital.com/v1/ads/changes/{change_id}/{action} \
-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.manage; audit action ads.change_<action>. approve sends exactly the proposed request to Google in the background (202); a kill switch, the spend ceiling or the organisation's standing can still refuse it (refused). When the send meets Google's daily operation allowance the change stays approved with summary.deferred_to (when it is sent — automatically, by the same workflow), never refused. za-326 r3: an approval does not override a network's learning phase — an automatic change approved while the network says its unit is learning stays approved with summary.learning (rule, network) and summary.deferred_to (when learning is read again), and is sent once learning ends. ZA326-FU: the wait stops — the change is refused with error learningUnread after 4 re-checks in a row that could not read the learning state, or learningNoEnd 14 days after the wait began. ZA326-FU5: an approved change whose earlier send was interrupted before its answer was recorded is sent again automatically only when it is an absolute set (a pause, a budget, a bid); any other change (a create) is refused with error sendUnconfirmed and is never sent again blind — the person checks the account — and withdraw (200) takes the person's approval back while it waits (rejected, summary.withdrawn {by, at}, audit action ads.change_withdraw; else notWaitingForLearning). undo sends the change's inverse (202) — allowed with the kill switch on; an Undo that meets the same allowance leaves the change applied with summary.undo_deferred_to and is sent after the reset by the same Undo workflow (never recorded as failed), even when that is past the Undo window. A rejection binds the item on Google, Microsoft Ads and X alike. reject answers 200. A rejected negative keyword or keyword (same account, text, match type and level) is never proposed or sent again by any producer — the gate refuses it rejectedBefore, whether or not it still collides — until allow_again (200, a rejected change only, else notRejected; leaves summary.allowed_again {by, at}); undo_allow_again (200, else notAllowedAgain) puts the rejection back.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
change_id (path) | string | Yes | — |
action (path) | string<approve, reject, undo, allow_again, undo_allow_again, withdraw> | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | — |
org_id | string | Yes | — |
connection_id | string | Yes | — |
action_class | string | Yes | — |
status | AdsChangeStatus | Yes | — |
summary | object | Yes | What the change does, for the card. SERVEWATCH adds serving_check (a bid-strategy switch simulated before the send: verdict ok · unknown · starves, strategy, reason,… |
budget_delta_minor | object | Yes | — |
proposed_by | string | Yes | Who proposed the change: who stored it (user:<id>, autopilot, mcp:<id>, apikey:<id>, …) — except a member of our staff, who reads support and never their id… |
proposed_by_kind | object | Yes | PROPOSERKIND: who proposed the change, as a kind the screen translates — the same words as a decision's decided_by_kind. person a member of this account's org; agency a… |
proposed_at | string | Yes | — |
decided_by | string | Yes | Who approved or declined it (autopilot when the audit made it by itself; a person who applied the audit's one-click suggestion is named here although proposed_by stays… |
decided_at | object | Yes | — |
applied_at | object | Yes | — |
undoable | boolean | Yes | — |
undo_until | object | Yes | — |
undone_at | object | Yes | — |
error | string | Yes | Why the change was not sent, its CODE leading (ceiling, killed, paused, holdReleased — GATE-PERSON r10: kept for a person while its campaign was held, and the hold was… |
decision_reason | string | No | za-104: the reason given with the decision. An agency's client must give one to reject on the approval portal; decided_by then reads… |
Errors this endpoint can return
401 · 403 · 404 · 422 · 429