get_paid_media_history
One campaign's pull history as a chronological series: each daily pull's 30-day window with impressions, clicks and spend, oldest first, plus the campaign's platform, account, objective and status. campaign_id comes from get_paid_media. Defaults to the most recent 90 pulls; narrow with since (YYYY-MM-DD) or limit. Requires the paid_media section in scope.
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": {
"campaign_id": "<campaign_id>"
},
"name": "get_paid_media_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most recent pulls to return (default 90, max 366) | |
| since | No | Only pulls on or after this date (YYYY-MM-DD) | |
| campaign_id | Yes | campaign_id from get_paid_media |