Get ads figures
get_adsAds per platform, account and campaign for a website: spend, impressions, clicks, conversions, cost per conversion and ROAS where available, plus each campaign's current status, daily budget and do_not_touch (on the organization's "do not touch" list: the autopilot never changes it). Currencies are kept separate; totals are per currency.
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": {
"site_id": "<site_id>"
},
"name": "get_ads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day (YYYY-MM-DD); default yesterday. | |
| from | No | First day (YYYY-MM-DD); default 30 days ago. | |
| site_id | Yes | The site id, as returned by list_sites. |