get_analytics
Get analytics data for the partner account.
WHEN TO USE:
Viewing overall performance metrics
Analyzing device performance
Generating reports on impressions and earnings
Comparing performance over time periods
RETURNS:
summary: Overall stats (impressions, earnings, active_devices)
time_series: Data points over time
top_devices: Best performing devices
breakdown: Data grouped by requested dimension
EXAMPLE: User: "Show me last week's analytics by device" get_analytics({ start_date: "2026-01-01", end_date: "2026-01-07", group_by: "device" })
User: "Get monthly performance breakdown" get_analytics({ start_date: "2025-12-01", end_date: "2025-12-31", group_by: "day" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | End date in YYYY-MM-DD format (optional, defaults to today) | |
| group_by | No | How to group the analytics data | |
| device_id | No | Filter to a specific device (optional) | |
| start_date | No | Start date in YYYY-MM-DD format (optional, defaults to 30 days ago) |