OverviewProductsPlatformsAPI ReferenceResources
Accounts & Ops

List negative keyword lists

GEThttps://zernio.com/api/v1/ads/accounts/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.

PlatformsGoogle

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Query parameters

accountIdstringRequired

Zernio SocialAccount id.

adAccountIdstring

Platform ad account ID (Google customer ID, digits only). Required when the connection has multiple customers.

customerIdDeprecatedstring

Alias of adAccountId, kept for existing callers

platformstringOne of facebook | instagram | tiktok | linkedin | pinterest | google | twitter | openai | reddit

Optional courtesy field. The resolved account or campaign determines support; other platforms return 501.

Responses

Success· the request worked

Errors· the request failed

GET/v1/ads/accounts/negative-keyword-lists
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}
OpenAPI specification
Was this page helpful?