Best Performers
hyros_best_performersIdentify top-performing ads and campaigns by revenue, ROAS, or ROI. Answer 'What are my best ads this week?' or 'Which campaigns have the highest ROAS this month?'
Instructions
Get the top performing ads/campaigns ranked by revenue, ROAS, ROI, etc. for a given date range. Requires an ad account ID and the level of analysis. Use hyros_get_sources to find your ad account IDs first. Perfect for "what are my best ads this week?" or "which campaigns have the highest ROAS this month?"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | Level of analysis (required): use facebook_adset for Facebook ad sets, google_campaign for Google campaigns, etc. | |
| rankBy | No | Metric to rank performers by (default: revenue) | |
| endDate | Yes | End date in ISO 8601 format, e.g. 2024-01-31T23:59:59 (required) | |
| currency | No | Currency for monetary values (default: user_currency) | |
| topCount | No | Number of top performers to return (default: 10) | |
| startDate | Yes | Start date in ISO 8601 format, e.g. 2024-01-01T00:00:00 (required) | |
| adAccountId | Yes | Ad account ID to analyze (required). Get this from hyros_get_sources. | |
| attributionModel | No | Attribution model (default: last_click) |