marketing_campaigns_costs_list
Retrieve marketing campaign costs for a required campaign ID, filter by year or month, and paginate or sort results to analyze spend per campaign.
Instructions
List one page of costs for a required campaign ID, optionally filtered by year or month. Use marketing_campaign_costs_list for a broader cost search across campaigns.
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": {
"id": "<id>"
},
"name": "marketing_campaigns_costs_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Campaign ID | |
| page | No | Page number (starts at 1) | |
| sort | No | Sort: Field (default), +Field (asc), or -Field (desc). Fields: Id, Date | |
| year | No | Cost year | |
| month | No | Cost month | |
| pageSize | No | Records per page (default 50) | |
| includeTotal | No | Include total count in response |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||