List ad units
list_ad_unitsLists AdMob ad units with their app and format, returning IDs you can use as AD_UNIT filters in reports.
Instructions
Lists ad units (ca-app-pub-…/…) with their app and format. Ad unit IDs can be used as AD_UNIT filter values in reports.
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": "list_ad_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | No | Only ad units of this app (ca-app-pub-…~…). | |
| format | No | Only this ad format, e.g. BANNER, INTERSTITIAL, REWARDED, REWARDED_INTERSTITIAL, NATIVE, APP_OPEN. | |
| account_id | No | AdMob publisher ID, e.g. pub-1234567890123456. Optional: defaults to ADMOB_ACCOUNT_ID or the only account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_units | Yes | ||
| account_id | Yes |