ads

POST /v1/public/ads-approvals/{token}/changes/{change_id}/{action}

The agency's client approves or rejects one pending change. Unauthenticated.

All ads endpoints

All developer docs →

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

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

NameTypeRequiredWhat it is
token (path)stringYes—
change_id (path)stringYes—
action (path)string<approve, reject>Yes—

Request body

NameTypeRequiredWhat it is
namestringYes—
reasonstringNo—

Response

NameTypeRequiredWhat it is
idstringYes—
action_classstringYes—
statusstring<pending, approved, applied, rejected, refused, failed, undone>Yes—
summaryobjectYes—
budget_delta_minorobjectYesThe daily budget increase asked for, minor units of currency.
currencystringYesISO 4217 code of the ad account.
account_namestringYes—
proposed_atstringYes—
decided_atobjectYes—
decided_by_namestringYesThe name the client typed; empty while pending.
decision_reasonstringYes—
errorstringYesOnly on a refused or failed change.

Errors this endpoint can return

404 · 422 · 429