run_report
Generate Amazon Ads reports by date range and preset, returning daily rows or aggregated totals for selected groups, and optionally save results to a JSON file.
Instructions
Run a report (dates YYYY-MM-DD, any length) and return rows or totals.
preset: sp_campaigns, sp_placement, sp_ad_groups, sp_targeting, sp_search_terms, sp_advertised_products, sp_purchased_products. group_by (e.g. ["campaignName", "placementClassification"]) sums numeric columns per group instead of returning daily rows. save_to writes every row to a JSON file.
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": {
"market": "<market>",
"preset": "<preset>",
"start": "<start>",
"end": "<end>"
},
"name": "run_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| start | Yes | ||
| market | Yes | ||
| preset | Yes | ||
| save_to | No | ||
| group_by | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||