List ad unit mappings
admob_list_ad_unit_mappingsLists an AdMob ad unit's mediation mappings, showing which third-party ad network placement it maps to, so you can verify or audit mediation setup. Get the ad unit ID from the ad unit listing tool.
Instructions
List the mediation ad unit mappings of one ad unit (which third-party ad network placement it is mapped to). Get the ad unit ID from admob_list_ad_units. Uses AdMob API v1beta, which Google may change.
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": {
"ad_unit_id": "<ad_unit_id>"
},
"name": "admob_list_ad_unit_mappings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Optional filter in Google's EBNF filter syntax. Leave empty to list all mappings. | |
| account | No | AdMob account, e.g. 'accounts/pub-1234567890123456'. Optional: omitted = your only account (an error lists the options if you have several). | |
| page_size | No | Items per page | |
| ad_unit_id | Yes | Ad unit ID: the part after 'adUnits/' in an ad unit's name | |
| page_token | No | nextPageToken from the previous call | |
| response_format | No | 'markdown' for readable text, 'json' for structured data | markdown |