AdMob Campaign report
run_campaign_reportProduce AdMob campaign reports for house-ad and cross-promotion campaigns, covering impressions, clicks, installs, and cost; filter and sort results within a 30-day date range.
Instructions
Runs an AdMob Campaign report for house-ad / cross-promotion campaigns (impressions, clicks, installs, cost). Date range is limited to 30 days. Filtering and sorting are applied after fetching.
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_campaign_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: IMPRESSIONS, CLICKS, CLICK_THROUGH_RATE, INSTALLS. | |
| 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 |