get_ads_campaign_metrics
Retrieve performance metrics for a Mercado Ads campaign over a date range to evaluate ad spend efficiency. Returns impressions, clicks, CTR, cost, sales, and ACOS.
Instructions
Get performance metrics of a Mercado Ads campaign over a date range (defaults to the last 30 days): impressions, clicks, CTR, cost, attributed sales and ACOS when present. Use this to evaluate ad spend efficiency — a high ACOS means advertising costs eat a large share of the revenue it generates. Get campaign ids from get_ads_campaigns. Requires the advertising scope; scope errors are surfaced clearly. Date format: YYYY-MM-DD.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | No | End of the range, YYYY-MM-DD. Defaults to today | |
| date_from | No | Start of the range, YYYY-MM-DD. Defaults to 30 days ago | |
| campaign_id | Yes | Campaign id from get_ads_campaigns |