Campaign statistics
campaign_statsFetch statistics for one Avito Ads campaign over a date range, providing daily and total metrics with per-group and per-creative breakdowns.
Instructions
Statistics for ONE campaign over a date range, with its per-group and per-creative breakdowns: {campaign, groups[], creatives[]}. Every entity carries data[] (one row per day, stamped with timestamp) and totalData (the period aggregate). Metrics per row: views (impressions), clicks, ctr, spend, spendBonus, cpm, cpc, plus videoViews25/50/75/100, q25/q50/q75 and vtr for video campaigns; money is in rubles, rates pass through unchanged. The period is inclusive, YYYY-MM-DD, and must span at most 100 days. Cannot aggregate across campaigns and has no sub-day granularity; get campaignId from list_campaigns. Costs weekly API points; the reply's apiPointBalance is what is left until the quota refills Monday 00:00 UTC, so prefer one wide period over many narrow calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateTo | Yes | Last day of the period, inclusive (YYYY-MM-DD). Must be >= dateFrom, and the period must not exceed 100 days. | |
| dateFrom | Yes | First day of the period, inclusive (YYYY-MM-DD). | |
| campaignId | Yes | Campaign to report on. Find ids with list_campaigns. |