roasr_metrics_campaigns
Retrieve per-campaign or adset KPIs for any date window: spend, CTR, CPC, ROAS, CPA, reach, frequency. Results sorted by spend. Supports Meta, Google Ads, and Yandex Direct.
Instructions
Per-campaign or per-adset metrics and KPIs for a date window (spend, CTR, CPC, ROAS, CPA, reach, frequency…), sorted by spend. reach/frequency are Meta-only (null for older or non-Meta data). dataSince is the earliest date entity-level data has been collected since: a window earlier than that comes back empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | campaign (default) | adset | |
| limit | No | 1–200, default 50 | |
| since | No | window start, YYYY-MM-DD (use with until; takes priority over sinceDays) | |
| until | No | window end, YYYY-MM-DD (defaults to today) | |
| clientId | No | client UUID (optional) | |
| accountId | No | ad account UUID (optional) | |
| sinceDays | No | window in days back from today (1–365, default 30) |