get_campaign_performance
Create a performance report with impressions, clicks, cost, and sales. If generation exceeds 5 seconds, return PENDING with reportId for later retrieval.
Instructions
Create a performance report for campaigns. Returns metrics like impressions, clicks, cost, sales. If the report takes more than 5 seconds to generate, returns a PENDING status with a reportId - use get_report to fetch the completed report.
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": {
"profileId": "<profileId>",
"campaignId": "<campaignId>",
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "get_campaign_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | Yes | End date in YYYY-MM-DD format | |
| profileId | Yes | The Amazon Ads profile ID | |
| startDate | Yes | Start date in YYYY-MM-DD format | |
| campaignId | Yes | The campaign ID to get performance data for |