Campaign performance
get_campaign_performanceUse for Sponsored Products campaign-level ad performance over a date range: spend, sales, ACOS, ROAS, CTR, CPC, CVR. attribution_window selects 7d or 14d click-attributed sales, orders, units, ACOS, ROAS, and CVR (default 14d); the response states the window. Grain: one row per campaign; recent ~3 days may be incomplete. Do not use for ad group, keyword, search-term, ASIN, or total organic+paid sales questions. Each row's refresh_window_open is true when at least one included reporting date is on or after settling_from_date and on or before reporting-local today. settling_from_date is the start of that profile/table's latest completed scheduled re-pull window (normally 16 calendar days ending the day before refresh). It means we still re-pull the day, not that its value will change; false is not a guarantee of finality. Missing completed-window evidence returns null.
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": "get_campaign_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows (1-1000, default 20). | |
| offset | No | Pagination offset (0-100000, default 0). Use the returned pagination.next_offset to continue. | |
| sort_by | No | Column to sort by | spend |
| end_date | No | Optional. YYYY-MM-DD. Defaults to today if omitted. | |
| profile_id | No | Filter by profile ID | |
| sort_order | No | Sort order | desc |
| start_date | No | Optional. YYYY-MM-DD. Defaults to 30 days ago if omitted. | |
| campaign_name | No | Filter by campaign name (LIKE match, use % for wildcards) | |
| include_raw_rows | No | For tabular results, false returns compact rows capped at MCP_TEXT_ROW_PREVIEW_LIMIT (default 10), regardless of limit. Complete-page and custom non-tabular responses may ignore this option; see tool-specific notes. Default true; large full-row responses are capped separately. Freshness fields require include_diagnostics=true in either row mode, where supported. | |
| attribution_window | No | Sponsored Products click-attribution window for sales, orders, units, ACOS, ROAS, and CVR: 7d or 14d (default). Omit for SB/SD, which retain Amazon's single source window, and for invalid_traffic, which has no attributed conversions. | |
| include_diagnostics | No | True enables expanded freshness diagnostics. Where supported, snapshot_capture_at and snapshot_data_through_date are populated only when include_diagnostics=true, in both compact and full-row modes; values may still be null if source data is unavailable. Default false. Basic empty-result data-window diagnostics are included by default when available. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| evidence | No |