Get Facebook campaign insights
get_facebook_campaign_insightsAd results for one ad account from Meta, at campaign, adset or ad level, for a range of at most 90 days: spend (in the account currency), impressions, clicks, ctr, cpc, leads and cost_per_lead. Campaign rows also carry what happened on our side: received (leads that reached HellouOne), whatsapp_sent, replied, qualified (hot or warm leads) and cost_per_qualified_lead (spend / qualified).
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": {
"ad_account_id": "<ad_account_id>"
},
"name": "get_facebook_campaign_insights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | ||
| since | No | YYYY-MM-DD. Defaults: the last 30 days. | |
| until | No | YYYY-MM-DD. Defaults: the last 30 days. | |
| fields | No | Optional: return only these fields of each record. | |
| ad_account_id | Yes | id from list_facebook_ad_accounts. |