ads

POST /v1/ads/connections/{connection_id}/page-fixes

Write the fix for one landing-page finding on a page hosted with us (za-210).

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}/page-fixes \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "finding_id": <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

Gated on ads.manage, audit-logged. For a landing-page finding whose page title, H1, meta description or button misses the ad group's words (lp_intent, lp_competitor, lp_cta_wrong) on a page FILE of a site this organisation hosts with us, a Temporal workflow reads the whole file (kept byte-exact as the Undo snapshot) and the AI writer proposes the text edits — charged on the one AI meter (BYO key, else AI credits) now, on this request. Nothing is written to the site until approve. Twice is once (the open fix for the same page is returned). 422 pageFixNotHosted, pageFixNotEditable, pageFixNotAFile, pageFixNoWords, pageFixNotInGoodStanding, landingGoogleOnly.

Parameters

NameTypeRequiredWhat it is
connection_id (path)stringYes—

Request body

NameTypeRequiredWhat it is
finding_idstringYes—

Response

NameTypeRequiredWhat it is
dataAdsPageFixYesza-210 (docs/1006 §111): a landing-page fix applied on a page hosted with us — the text edits, the page file, its state, and the before/after measurement (landing-page Quality…

Errors this endpoint can return

401 · 403 · 404 · 422 · 429