admob_create_ad_unit
Create a new ad unit for your AdMob app by specifying the app ID, display name, and ad format. Supports BANNER, INTERSTITIAL, REWARDED, REWARDED_INTERSTITIAL, APP_OPEN, and NATIVE.
Instructions
Create a new ad unit in your AdMob account. Supported formats: BANNER, INTERSTITIAL, REWARDED, REWARDED_INTERSTITIAL, APP_OPEN, NATIVE.
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": {
"appId": "<appId>",
"displayName": "<displayName>",
"adFormat": "<adFormat>"
},
"name": "admob_create_ad_unit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | AdMob App ID to create the ad unit for (e.g., ca-app-pub-xxxxx~yyyyy) | |
| displayName | Yes | Display name for the ad unit (e.g., "Home Banner", "Level Complete Interstitial") | |
| adFormat | Yes | Ad format type |