AdMob Mediation report
admob_mediation_reportCompare ad networks by earnings, observed eCPM, and ad load latency per ad source, mediation group, or ad unit over a chosen date period or custom range.
Instructions
AdMob Mediation report: earnings and observed eCPM per ad source / ad source instance / mediation group, plus ad load latency. Use it to compare ad networks. Money values are in the account currency. Use 'period' or start_date + end_date.
Example: 'Which ad source earns the most this month?' -> period='this_month', dimensions=['AD_SOURCE'], metrics=['ESTIMATED_EARNINGS','OBSERVED_ECPM'], sort_by='ESTIMATED_EARNINGS'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"metrics": "<metrics>"
},
"name": "admob_mediation_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Preset period in the account's time zone: today, yesterday, last_7_days (the 7 complete days before today), last_30_days (30 complete days before today), this_month (1st of the month until today), last_month (the previous calendar month). | |
| account | No | AdMob account, e.g. 'accounts/pub-1234567890123456'. Optional: omitted = your only account (an error lists the options if you have several). | |
| filters | No | Optional dimension filters (all must match) | |
| metrics | Yes | Metrics to return, e.g. ['ESTIMATED_EARNINGS','IMPRESSIONS'] | |
| sort_by | No | Dimension or metric to sort by | |
| end_date | No | End date YYYY-MM-DD (inclusive). Use with start_date instead of 'period'. | |
| max_rows | No | Maximum rows requested from AdMob (1-100000). Output is also capped to stay readable. | |
| dimensions | No | Dimensions to group by. At most one of DATE/WEEK/MONTH. Empty = one total row. Money metrics are returned in the account currency (e.g. USD), not micros. | |
| sort_order | No | DESCENDING | |
| start_date | No | Start date YYYY-MM-DD. Use with end_date instead of 'period'. | |
| currency_code | No | ISO 4217 currency, e.g. 'USD'. Defaults to the account currency. | |
| response_format | No | 'markdown' for readable text, 'json' for structured data | markdown |