---
title: get_ads_insights
description: 'What the ad account, a campaign, an ad set or an ad spent and got over
  the last `range` days: its totals, a day at a time, the objects one level down,
  and, with `breakdown`, split by age, gender, country or placement.'
sidebar:
  order: 85
---

What the ad account, a campaign, an ad set or an ad spent and got over the last `range` days: its totals, a day at a time, the objects one level down, and, with `breakdown`, split by age, gender, country or placement. Typed inside `bash`, where `help get_ads_insights` prints the same.

```text
Usage: get_ads_insights [options]

What the ad account, a campaign, an ad set or an ad spent and got over
the last `range` days: its totals, a day at a time, the objects one
level down, and, with `breakdown`, split by age, gender, country or
placement. Money is in the account's currency. Meta's numbers are a
few hours behind; read the `meta-ads` guide for what each means.

Options:
  --level account|campaign|ad_set|ad
      What the numbers are of. Defaults to account.
  --id TEXT
      The campaign's, ad set's or ad's id; none for the account.
  --range N
      How many days of numbers, ending yesterday. Defaults to 28.
  --breakdown age|gender|country|publisher_platform|platform_position
      Split the totals by one of these.
  --json OBJECT
      Every argument at once, as one JSON object; --json - reads it from stdin.
```
