ads
POST /v1/public/ads-approvals/{token}/changes/{change_id}/{action}
The agency's client approves or rejects one pending change. Unauthenticated.
Authentication
This endpoint is public. It takes no credential and no organisation — it is what our own marketing site and AI answer engines read.
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/public/ads-approvals/{token}/changes/{change_id}/{action} \
-H "Content-Type: application/json" \
-d '{ "name": <string> }'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
Token-authorised like the page. name is required (1-80 characters, plain text, else badName); reason up to 500 (else badReason) and required to reject (reasonRequired). Runs the same decision as decideAdsChange: approve starts the send (202) and the kill switch, the spend ceilings and the account's good standing can still refuse it; reject answers 200. A change that is not pending on the link's org answers 404. Audit action ads.change_<action> on the client org with metadata.via = client_portal, the link, the name and the reason.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
token (path) | string | Yes | — |
change_id (path) | string | Yes | — |
action (path) | string<approve, reject> | Yes | — |
Request body
| Name | Type | Required | What it is |
|---|---|---|---|
name | string | Yes | — |
reason | string | No | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
id | string | Yes | — |
action_class | string | Yes | — |
status | string<pending, approved, applied, rejected, refused, failed, undone> | Yes | — |
summary | object | Yes | — |
budget_delta_minor | object | Yes | The daily budget increase asked for, minor units of currency. |
currency | string | Yes | ISO 4217 code of the ad account. |
account_name | string | Yes | — |
proposed_at | string | Yes | — |
decided_at | object | Yes | — |
decided_by_name | string | Yes | The name the client typed; empty while pending. |
decision_reason | string | Yes | — |
error | string | Yes | Only on a refused or failed change. |
Errors this endpoint can return
404 · 422 · 429