OverviewProductsPlatformsAPI ReferenceResources
Accounts & Ops

Rename a negative keyword list

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

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.

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.

Body

application/json

What every request needs

accountIdstringRequired

Zernio SocialAccount id.

namestring, max 255Required

Nonempty list name, trimmed before use.

Optional parameters3 fields
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

PUT/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.updateAdNegativeKeywordList({  path: {    listId: 'list_abc123',  },  body: {    accountId: 'account_abc123',    name: 'Example',  },});console.log(data);
{  "updated": true,  "customerId": "9122445560"}
OpenAPI specification
Was this page helpful?