AdMob Mediation report
run_mediation_reportGenerate AdMob Mediation reports to compare ad source, ad source instance, and mediation group performance across apps, ad units, and countries for waterfall and bidding network analysis.
Instructions
Runs an AdMob Mediation report: performance per ad source (network), ad source instance and mediation group, alongside app / ad unit / country breakdowns. Use to compare networks in your waterfall/bidding setup. OBSERVED_ECPM is the third-party network's estimated eCPM.
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": "run_mediation_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order; field must be a requested dimension or metric. Default: by time, else first metric desc. | |
| filters | No | Keep only rows whose dimension matches any of the values, e.g. [{dimension: 'COUNTRY', values: ['US','DE']}]. Use IDs for APP / AD_UNIT (see list_apps, list_ad_units). | |
| metrics | No | Metrics to return. Default: ESTIMATED_EARNINGS, IMPRESSIONS, OBSERVED_ECPM, AD_REQUESTS, MATCH_RATE. | |
| currency | No | ISO 4217 currency for money metrics, e.g. USD. Defaults to the account currency. | |
| max_rows | No | Rows to show in the response (totals always cover all rows). | |
| account_id | No | AdMob publisher ID, e.g. pub-1234567890123456. Optional: defaults to ADMOB_ACCOUNT_ID or the only account. | |
| date_range | No | Date range. Defaults to last_7_days. | |
| dimensions | No | Row breakdown. Empty = one total row. At most one of DATE / MONTH / WEEK. | |
| include_ids | No | Show IDs next to names (e.g. app and ad unit IDs) in the table. | |
| save_csv_path | No | If set, also write ALL rows as CSV to this file path (relative to the server's working directory). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| report | Yes | ||
| totals | Yes | ||
| csv_path | Yes | ||
| currency | Yes | ||
| end_date | Yes | ||
| warnings | Yes | ||
| row_count | Yes | ||
| time_zone | Yes | ||
| account_id | Yes | ||
| rows_shown | Yes | ||
| start_date | Yes |