---
title: "Delete an ad set"
method: DELETE
path: "/v1/ads/ad-sets/{adSetId}"
tags: ["Ad Campaigns"]
---

# Delete an ad set

`DELETE /v1/ads/ad-sets/{adSetId}`

Deletes the ad set on the platform, cascading to its ads only (never the
campaign). Locally, every Ad document under the ad set is marked
`status: cancelled`.

Delete is soft on platforms that have no hard delete: LinkedIn moves the
campaign to `PENDING_DELETION`, Pinterest archives the ad group, and X
soft-flags the line item. Google removes the ad group. All remain readable
for reporting.

## Path parameters

- `adSetId` string, required

## Response `200`

Ad set deleted

- object
  - `deleted` boolean
  - `adCount` integer — Local Ad documents marked cancelled

## Other responses

- `401` — Unauthorized
- `404` — Ad set not found
- `501` — Operation not supported on this platform

## Changes

- **2026-08-28** `df4e1192cfc4` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/ads/ad-sets/:adSetId/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-service-production.skmtc.workers.dev/v1/apis/zernio/zernio-api/revisions/0caf79db3a97/schema)
