Revenue report
get_revenueExtract YouTube Partner Program revenue metrics, RPM, CPM, and top-earning videos for a chosen date range. Track monetization trends and identify high-earning content.
Instructions
Monetization report (YouTube Partner Program channels): estimated revenue, ad revenue, gross revenue, RPM, CPM, playback-based CPM, monetized playbacks and ad impressions, with a trend and the top-earning videos.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_revenue"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Named date range, Studio-style. Rolling ranges end at the latest complete day of data (analytics lag ~2-3 days; dates are US Pacific). Ignored when start_date is set. | last_90_days |
| currency | No | ISO 4217 code, e.g. 'EUR'. Default USD. | |
| end_date | No | Custom range end, YYYY-MM-DD (inclusive). Defaults to the latest complete day. | |
| start_date | No | Custom range start, YYYY-MM-DD. Overrides `period`. | |
| granularity | No | Bucket size for the trend. | month |
| top_videos_limit | No | Top-earning videos to include. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||