adsense_report
Query AdSense performance read-only to retrieve earnings, page views, impressions, clicks, and CTR by day using presets or custom dates; defaults to the last 7 days.
Instructions
Query AdSense performance (read-only). Defaults to earnings, page views, impressions, clicks and CTR by day for the last 7 days.
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": "adsense_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows. Default 50. | |
| endDate | No | YYYY-MM-DD, use together with startDate. | |
| metrics | No | Default: ESTIMATED_EARNINGS, PAGE_VIEWS, IMPRESSIONS, CLICKS, IMPRESSIONS_CTR. Also PAGE_VIEWS_RPM, COST_PER_CLICK. | |
| dateRange | No | Preset range. Default: LAST_7_DAYS. Ignored when startDate and endDate are both given. | |
| startDate | No | YYYY-MM-DD, use together with endDate. | |
| dimensions | No | Default: ['DATE']. Others: DOMAIN_NAME, COUNTRY_NAME, PLATFORM_TYPE_NAME, AD_UNIT_NAME, MONTH. |