get_ads_performance
Get Meta ads results: spend, impressions, clicks, CTR, CPC, CPM, reach, conversions (actions), cost per action, and purchase ROAS — at account, campaign, adset, or ad level over a chosen window. Use when the user asks how their Facebook/Instagram ads are doing, what they spent, or what it returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Aggregation level: 'account', 'campaign' (default), 'adset', or 'ad'. | |
| companyId | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. | |
| time_range | No | Exact window: { since: 'YYYY-MM-DD', until: 'YYYY-MM-DD' }. Mutually exclusive with date_preset. | |
| campaign_id | No | Optional: scope the report to one campaign (id from list_ad_campaigns). | |
| date_preset | No | Reporting window preset, e.g. 'last_7d', 'last_30d' (default), 'this_month', 'lifetime'. Mutually exclusive with time_range. | |
| ad_account_id | No | Ad account id (act_<digits> or bare digits). Optional when the connection has exactly one ad account. |