get_daily_metrics
Retrieve aggregated daily performance metrics as time-series data for charting, filtering by date range, metric type, and campaign parameters.
Instructions
Get aggregated daily metrics as a time-series suitable for charting. Returns data for the specified metric over a date range.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | No | Metric to retrieve (default: gross_spend) | |
| start_date | No | Start date in YYYY-MM-DD format (default: beginning of previous month) | |
| end_date | No | End date in YYYY-MM-DD format (default: yesterday) | |
| platform | No | Filter by platform string in campaign name | |
| client_id | No | Filter by client ID | |
| partner_id | No | Filter by partner ID | |
| campaign_id | No | Filter by campaign ID | |
| click_url_id | No | Filter by click URL ID | |
| mobile_app_id | No | Filter by mobile app ID |