ads
PUT /v1/ads/connections/{connection_id}/plugin-feed
Switch the plugin conversion feed on or off for this ad account.
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}/plugin-feed \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "enabled": <boolean> }'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 (ads.plugin_feed_saved). Nothing is sent to the network here. Switching it on starts the account's tracking step (a background workflow, run_started): it finds the four actions by NAME, queues ONE approve-first change creating any that are missing (applied only when approved, inside the account's kill switches and good standing), and maps the ones that exist to their outcome kinds — never replacing a mapping you made yourself. A Freemius checkout source then also reports free installs and renewals. Switching it off stops that; nothing already on the account is removed.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
connection_id (path) | string | Yes | — |
Request body
| Name | Type | Required | What it is |
|---|---|---|---|
enabled | boolean | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
connection_id | string | Yes | — |
platform | string | Yes | — |
enabled | boolean | Yes | — |
checked_at | string | Yes | When the tracking step last read the account for the feed. |
change_id | string | Yes | The create waiting in the change queue |
window_days | integer | Yes | — |
roles | object[] | Yes | — |
run_started | boolean | Yes | — |
Errors this endpoint can return
401 · 403 · 404 · 422 · 429