get_insights
Retrieve raw Meta Ads metrics including spend, clicks, and ROAS at any granularity (account, campaign, ad-set, ad) over custom or preset date ranges.
Instructions
Get raw Meta performance metrics for an object and reporting period.
Args: params: Object ID, aggregation level, either a date preset or custom since/until range, maximum row count, and response format.
Returns:
A rendered {"success": bool, "data": list[object] | null, "error": string | null} envelope containing raw Meta insight rows
with spend, delivery, click, action, and purchase ROAS fields.
Use this for flexible read-only metric retrieval at account, campaign, ad-set, or ad level. Do not use it to modify delivery or to infer causal lift from platform-attributed results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |