ads

PUT /v1/ads/connections/{connection_id}/tracking

Which actions are compared, where missed outcomes upload, recovery on/off.

All ads endpoints

All developer docs →

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 PUT https://api.zinndigital.com/v1/ads/connections/{connection_id}/tracking \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

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.tracking_settings. A Google action is a resource name of THIS account (customers/<id>/conversionActions/<id>); a Microsoft one is the offline goal's name. Giving a kind an upload action re-opens its outcomes that were waiting for one. recovery_mode validate makes the network check uploads and keep nothing.

Parameters

NameTypeRequiredWhat it is
connection_id (path)stringYes—

Request body

NameTypeRequiredWhat it is
compare_actionsstring[]NoNetwork actions that stand for these outcomes; empty = every PRIMARY one.
upload_actionsobjectNo{kind: action} — where a missed outcome of that kind is uploaded.
recovery_modestring<off, validate, live>No—
site_urlstringNo—
kindsstring<purchase, trial, lead, signup>[]NoOutcome kinds that count as a conversion (empty = every kind).

Response

NameTypeRequiredWhat it is
connection_idstringYes—
org_idstringYes—
platformstringYes—
settingsAdsTrackingSettingsYesOne ad account's tracking-truth settings (docs/1006 §21).
latestAdsTrackingCheckYes—
historyAdsTrackingCheck[]Yes—
holdobjectYesWhy the autopilot is not judging this account today (za-116), or null.
outcomesobjectYesOutcomes per recovery status.
fix_offerobjectYes—
thresholdsobjectYes—
kindsstring[]Yes—
sourcesstring[]Yes—

Errors this endpoint can return

401 · 403 · 404 · 422 · 429