---
title: "Delete a negative keyword list"
method: DELETE
path: "/v1/ads/accounts/negative-keyword-lists/{listId}"
tags: ["Ad Accounts"]
---

# Delete a negative keyword list

`DELETE /v1/ads/accounts/negative-keyword-lists/{listId}`

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

## Path parameters

- `listId` string, required — Google shared set id.

## Query parameters

- `accountId` string, required — Zernio SocialAccount id.
- `adAccountId` string — Platform ad account ID (Google customer ID, digits only). Required when the connection has multiple customers.
- `customerId` string — Alias of adAccountId, kept for existing callers
- `platform` 'facebook' | 'instagram' | 'tiktok' | 'linkedin' | 'pinterest' | 'google' | 'twitter' | 'openai' — Optional courtesy field. The resolved account or campaign determines support; other platforms return 501.

## Response `200`

Successful response.

- object
  - `removed` boolean
  - `customerId` string — Resolved Google Ads customer id.

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `403` — Ads access and permission to the selected account are required.
- `404` — The account or requested resource was not found or is not accessible. An account ID may have been disconnected and removed. Read GET /v1/accounts for current account IDs.
- `409` — Ambiguous campaign or account selection. Use a profile-scoped key. A list still attached to a campaign may also be rejected by Google. The account may also be inactive or need reconnection (code ads_connection_required). Reconnect it and read GET /v1/accounts for its current ID before retrying.
- `422` — Google Ads connection is missing or unavailable.
- `429` — Google Ads operations budget or platform quota exhausted.
- `501` — Available only on Google Ads.

## Changes

- **2026-09-25** `2c04683ce694` — 8 info
  - added the optional property `details/adAccountId` to the response with the `400` status
  - added the optional property `details/adAccountId` to the response with the `404` status
  - added the optional property `details/createdObjects` to the response with the `400` status
  - added the optional property `details/createdObjects` to the response with the `404` status
  - …4 more
- **2026-09-23** `dd3865482f9f` — 2 info
  - added the new optional `query` request parameter `adAccountId`
  - `query` request parameter `customerId` was deprecated
- **2026-09-16** `3e6ddf2a99ea` — 2 info
  - added the optional property `details/budgetScope` to the response with the `400` status
  - added the optional property `details/budgetScope` to the response with the `404` status
- **2026-09-15** `0dba7d004d75` — 4 info
  - added the optional property `details/quotaExhausted` to the response with the `400` status
  - added the optional property `details/quotaExhausted` to the response with the `404` status
  - added the optional property `details/quotaScope` to the response with the `400` status
  - added the optional property `details/quotaScope` to the response with the `404` status
- …earlier changes not shown

[Full history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/ads/accounts/negative-keyword-lists/:listId/delete.md)

---

[API](https://skmtc.dev/zernio/apis/zernio-api.md) · [All operations](https://skmtc.dev/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zernio/apis/zernio-api/revisions/e0122970214f?raw)
