ads

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

Put a review's decision back and open the review again (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}/undo \
  -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.review_undo. Within 30 days: a pause's changes are undone, a revert is applied again as a new change (with its own Undo), an extension gets its old due day back (until it is judged again). Otherwise 422 reviewNothingToUndo.

Parameters

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

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