Get insights
get_insightsRetrieve ad performance metrics (impressions, CTR, ROAS, spend) for accounts, campaigns, ad sets, or ads with custom date ranges and demographic or placement breakdowns.
Instructions
Fetches performance metrics (impressions, reach, CTR, CPC, CPM, spend, ROAS, conversions, inline_link_clicks, cost_per_action_type) for an ad account, campaign, ad set or ad, with optional date range and breakdowns (age, gender, placement, device). Pass level: "ad" to also get Meta's relevance diagnostics (quality_ranking, engagement_rate_ranking, conversion_rate_ranking) — these return "UNKNOWN" below ~500 impressions.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_insights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Aggregation level. Inferred from object_id when omitted. | |
| limit | No | Max rows to return (default 100). | |
| since | No | Custom range start, YYYY-MM-DD. Overrides date_preset if set with until. | |
| until | No | Custom range end, YYYY-MM-DD. Overrides date_preset if set with since. | |
| client_id | No | Client identifier from accounts.config.json. Resolves the ad account and token automatically. Omit to use account_id + the default META_ACCESS_TOKEN instead. | |
| object_id | No | Campaign, ad set or ad id to scope insights to. Omit to get account-level insights. | |
| account_id | No | Ad account id, e.g. "act_1234567890". Required if client_id is omitted or its config entry has no ad_account_id. | |
| breakdowns | No | Dimensions to break results down by. | |
| date_preset | No | Relative date range, e.g. "last_30d" (default). | |
| time_increment | No | Days per returned row. Omit for a single row aggregating the whole range. Pass 1 for a daily series. |