OverviewProductsPlatformsAPI ReferenceResources
Accounts & Ops

Get a negative keyword list

GEThttps://zernio.com/api/v1/ads/accounts/negative-keyword-lists/{listId}

Shows one shared Google Ads negative keyword list with all of its keywords.

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. Includes the keywords and their criterion ids.

PlatformsGoogle

Authentication

AuthorizationBearer tokenRequired

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

Path parameters

listIdstringRequired

Google shared set id.

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/{listId}
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.adaccounts.getAdNegativeKeywordList({  path: {    listId: 'list_abc123',  },  query: {    accountId: 'account_abc123',  },});console.log(data);
{  "list": {    "id": "1234567890",    "resourceName": "customers/9122445560/sharedSets/1234567890",    "name": "Excluded searches",    "memberCount": 2,    "referenceCount": 0,    "keywords": [      {        "criterionId": "111",        "text": "free",        "matchType": "broad"      },      {        "criterionId": "222",        "text": "jobs",        "matchType": "phrase"      }    ]  },  "customerId": "9122445560",  "cachedAt": "2026-09-09T10:00:00Z",  "stale": false}
OpenAPI specification
Was this page helpful?