ads_insights
One live performance report across many objects of an ad account: one row per object per day. Send either ids (Postproxy ids of that level, same ad account) or ad_account_id (every object of that level). Returns { level, platform, ad_account_id, currency, range, totals: { spend, impressions, clicks }, data: [{ date, platform_id, ...metrics }], unsupported_breakdowns, next_page_token, cached }; totals cover the returned page. For a single object use the *_analytics tools.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"level": "<level>"
},
"name": "ads_insights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date, YYYY-MM-DD. Defaults to today. | |
| ids | No | Up to 50 Postproxy ids (id field) of that level, all in one ad account. Not with level=account. | |
| from | No | Start date, YYYY-MM-DD. Defaults to 30 days ago. At most 37 months back. | |
| level | Yes | What each row is | |
| metrics | No | Subset of metric names to return (spend, impressions, reach, clicks, ctr, cpc, cpm, conversions, roas, ...). Default: all. | |
| breakdowns | No | Split the metrics by these dimensions. Meta only; ones the network does not offer come back in unsupported_breakdowns. | |
| page_token | No | From a previous response's next_page_token | |
| profile_id | No | Ads profile hashid (the profile_id of an ad account in ads_accounts_list). Optional when exactly one ads profile is connected; required when several are. | |
| ad_account_id | No | Network id of the ad account, to report on every object of that level. Send this or ids. | |
| profile_group_id | No | Profile group hashid, to scope the call to one profile group. Usually not needed. |