Get Ads Overview
postly_get_ads_overviewFetches paid ads performance for one connected ad account: spend, impressions, clicks, conversions, CTR, CPC, CPM, cost per result, and ROAS, with a per-campaign breakdown. Use a period of 1 to 90 days, or all_time where the network supports it. Requires ads.read.
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": {
"workspace_id": "<workspace_id>",
"account": "<account>"
},
"name": "postly_get_ads_overview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Start date as YYYY-MM-DD. Required unless all_time. | |
| until | No | End date as YYYY-MM-DD, at most 90 days after from. Required unless all_time. | |
| account | Yes | Ad account key as provider:account_id, for example google:1234567890. | |
| all_time | No | Use lifetime totals where the network supports them. | |
| campaign_id | No | Optional native ad campaign ID to focus the overview on. | |
| workspace_id | Yes | Postly workspace ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| data | No | ||
| message | No |