Ad insights
ads_insights[read-only] Impressions, clicks, spend, link clicks and leads per campaign for a date range (default the last 30 days, at most 93), with totals per currency. Pass level: "ad" for daily per-ad results summed per ad (spend, impressions, clicks, CTR, video views), each with the Library contentId the ad was built from (null when unlinked; unlinked counts those).
(Wraps GET /api/v2/ads/insights.)
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": "ads_insights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | YYYY-MM-DD; default today | |
| from | No | YYYY-MM-DD; default 30 days ago | |
| level | No | campaign | |
| brandId | No | A brand id (GET /api/v2/brands) or "personal"; default: the key owner's active brand. A brand-bound key is always pinned to its brand; any other value is 403. |