---
title: get_ad_set
description: 'One ad set of the site''s Meta ad account: whether it runs, its campaign,
  its `fields` as update_ad_set takes them (who it reaches, where it shows, its budget
  and schedule), its numbers over the last `range` days with results counted by its
  goal, and its ads with theirs.'
sidebar:
  order: 83
---

One ad set of the site's Meta ad account: whether it runs, its campaign, its `fields` as update_ad_set takes them (who it reaches, where it shows, its budget and schedule), its numbers over the last `range` days with results counted by its goal, and its ads with theirs. Typed inside `bash`, where `help get_ad_set` prints the same.

```text
Usage: get_ad_set ID [options]

One ad set of the site's Meta ad account: whether it runs, its
campaign, its `fields` as update_ad_set takes them (who it reaches,
where it shows, its budget and schedule), its numbers over the last
`range` days with results counted by its goal, and its ads with
theirs.

Options:
  --id TEXT (required)
      The ad set's id, from list_campaigns.
  --range N
      How many days of numbers, ending yesterday. Defaults to 28.
  --json OBJECT
      Every argument at once, as one JSON object; --json - reads it from stdin.
```
