ads

POST /v1/ads/connections/{connection_id}/reviews/{review_id}/decide

The one-click decision on a due review (AUTOREVIEW1).

All ads endpoints

All developer docs →

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

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/connections/{connection_id}/reviews/{review_id}/decide \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "option": <string<keep, pause, revert, extend, extend30, extend60, extend90>> }'

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.review_decide. keep records it; extend moves the due day 7 days on and schedules it again; pause pauses its campaigns (for a funnel review, the campaigns that spent with no result), each through the approve-first queue as a person's approved change with its 30-day Undo; revert starts the reviewed change's Undo. A dated campaign's ending review (MS-WP60, made only by the engine, never through this API) offers extend30 / extend60 / extend90: the campaign's end date moves that many days later on the ad platform, as the clicker's approved change with its Undo, and the review is due again 7 days before the new end. Refused when the option is not offered (reviewOptionNotOffered) or the review is not due (reviewNotDue).

Parameters

NameTypeRequiredWhat it is
connection_id (path)stringYes—
review_id (path)stringYes—

Request body

NameTypeRequiredWhat it is
optionstring<keep, pause, revert, extend, extend30, extend60, extend90>Yes—

Response

NameTypeRequiredWhat it is
dataAdsReviewYesA scheduled review (AUTOREVIEW1). figures are the measurements the verdict rests on: the judged window (after) and the same length before it (before) with impressions,…

Errors this endpoint can return

401 · 403 · 404 · 422 · 429