ads
GET /v1/ads/connections/{connection_id}/universal-negatives
The ad account's one list of universal negative keywords and its sync state.
Authentication
Send an API key as a bearer token. The key must carry the ads.view 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 GET https://api.zinndigital.com/v1/ads/connections/{connection_id}/universal-negatives \
-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
za-333. Gated on ads.view. The za-217 junk set (searches for a free host or a free blog platform) kept as ONE account-level negative keyword list on Google (at most 1,000 entries; an existing account-level list is used) and ONE shared negative keyword list associated with every campaign on Microsoft (at most 5,000), instead of a copy on every campaign. Each audit reads the account, adds what is missing through the change queue (approve-first, kill switches, good standing, the collision replay), reads the list back, and only then removes the per-campaign copies it covers, each with its Undo. sync is what the latest audit read and did (null before the first); read from the stored audit, never from the network in this request.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
connection_id (path) | string | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
connection_id | string | Yes | — |
platform | string | Yes | — |
supported | boolean | Yes | Google and Microsoft keep the list. |
list_name | string | Yes | The name the list is made with. |
terms | string[] | Yes | The za-217 junk set, each added as a PHRASE negative. |
cap | integer | Yes | The most entries the network allows on the list. |
sync | null | AdsUniversalNegativesSync | Yes | — |
checked_at | object | Yes | — |
Errors this endpoint can return
401 · 403 · 404 · 429