OverviewProductsPlatformsAPI ReferenceResources
Accounts & Ops

Delete a negative keyword list

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

Deletes a shared Google Ads negative keyword list; detach it from every campaign first.

Detach it from all campaigns first; an in-use list is rejected. Only NEGATIVE_KEYWORDS shared sets are supported.

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

DELETE/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.deleteAdNegativeKeywordList({  path: {    listId: 'list_abc123',  },  query: {    accountId: 'account_abc123',  },});console.log(data);
{  "removed": true,  "customerId": "9122445560"}
OpenAPI specification
Was this page helpful?