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.
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 | |||