Run Performance Report
run_performance_reportGenerate immediate performance reports for campaigns, ad sets, or ads from auction and reservation data. Provide ad account, dates, metrics, and dimensions for synchronous results.
Instructions
Run a synchronous performance report for campaigns, ad sets, or ads.
This generates immediate reports on auction and reservation ads data.
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>",
"date_from": "<date_from>",
"date_to": "<date_to>"
},
"name": "run_performance_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Optional reporting level - values: "campaign", "ad_set", "ad" | |
| date_to | Yes | End date in YYYY-MM-DD format (e.g., "2024-01-31") | |
| metrics | No | Optional list of metrics (e.g., ["impressions", "clicks", "spend", "conversions"]) | |
| date_from | Yes | Start date in YYYY-MM-DD format (e.g., "2024-01-01") | |
| dimensions | No | Optional list of dimensions (e.g., ["date", "campaign_id"]) | |
| ad_account_id | Yes | The ad account ID to generate report for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |