Replace negative list keywords
Replaces all keywords in a shared Google Ads negative keyword list (or clears it), affecting every campaign that uses the list.
Existing keywords are diffed by normalized text and match type; creates and removals are applied atomically in one mutation. Unchanged criteria retain their ids. Send an empty keywords array to clear the list. Changes affect every campaign using this list. Each create or removal consumes one daily operation; the entire batch must fit the remaining quota.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Google shared set id.
^\d+$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
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.replaceAdNegativeKeywordListKeywords({ path: { listId: 'list_abc123', }, body: { accountId: 'account_abc123', keywords: [ 'string', ], },});console.log(data);{ "created": 1, "removed": 1, "customerId": "9122445560"}Delete a negative keyword list
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.
List custom conversions
Lists a Meta ad account's custom conversions, including archived ones. The ad account's Meta custom conversions, including archived ones (`isArchived`).