List negative keyword lists
Lists the shared negative keyword lists in a Google Ads account, which you can apply to many campaigns at once.
Google Ads shared negative keyword lists (shared_set type NEGATIVE_KEYWORDS). Reads are cached for 10 minutes; quota exhaustion may return the last successful result for up to 7 days with stale=true. Customer selection is limited to this connection and its account scope.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Query Parameters
Zernio SocialAccount id.
^[a-fA-F0-9]{24}$Platform ad account ID (Google customer ID, digits only). Required when the connection has multiple customers.
^\d+$Alias of adAccountId, kept for existing callers
^\d+$Optional courtesy field. The resolved account or campaign determines support; other platforms return 501.
Value in
- "facebook"
- "instagram"
- "tiktok"
- "linkedin"
- "pinterest"
- "google"
- "twitter"
- "openai"
- "reddit"
Response Body
application/json
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.adaccounts.listAdNegativeKeywordLists({ query: { accountId: 'account_abc123', },});console.log(data);{ "lists": [ { "id": "1234567890", "resourceName": "customers/9122445560/sharedSets/1234567890", "name": "Excluded searches", "memberCount": 2, "referenceCount": 0 } ], "customerId": "9122445560", "cachedAt": "2026-09-09T10:00:00Z", "stale": false}Remove account snippet
Detaches a structured snippet from the Google Ads account level, leaving it on any campaigns or ad groups that still use it. Removes the customer_asset attachment only. The underlying shared asset and its campaign or ad-group attachments remain. Fields go in the query string. A JSON body with the same fields is also accepted and, when sent, the query string is ignored.
Create a negative keyword list
Creates a shared Google Ads negative keyword list, optionally with starting keywords; it is not attached to any campaign yet. Creates one Google Ads shared negative keyword list with optional initial keywords in a single atomic mutation. Daily quota is reserved for every mutate item, so large batches may return 429 before any change. This operation is not idempotent. The list is not attached to any campaign.