---
title: set_ads_status
description: Pauses, switches on or deletes a campaign, an ad set or an ad.
sidebar:
  order: 94
---

Pauses, switches on or deletes a campaign, an ad set or an ad. Typed inside `bash`, where `help set_ads_status` prints the same.

```text
Usage: set_ads_status KIND ID STATUS

Pauses, switches on or deletes a campaign, an ad set or an ad.
ACTIVE is the one step that starts spending the owner's money: it is
refused while the owner has set no daily amount an agent may spend
or the object would spend more, the site's members are told, and an
agent sets it only when the owner asked for exactly that. DELETED
cannot be undone.

Options:
  --kind campaign|ad_set|ad (required)
      What the id is of.
  --id TEXT (required)
      Its id, from list_campaigns.
  --status PAUSED|ACTIVE|DELETED (required)
      PAUSED, ACTIVE or DELETED.
  --json OBJECT
      Every argument at once, as one JSON object; --json - reads it from stdin.
```
