Rename a negative keyword list
Renames a shared Google Ads negative keyword list without changing its keywords or the campaigns using it.
Keywords and campaign associations are unchanged. Use the keywords endpoint to edit the desired keyword set.
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.updateAdNegativeKeywordList({ path: { listId: 'list_abc123', }, body: { accountId: 'account_abc123', name: 'Example', },});console.log(data);{ "updated": true, "customerId": "9122445560"}Get a negative keyword list
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.
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.