Create ad unit mapping
create_ad_unit_mappingCreate an ad unit mapping to link an AdMob ad unit to a third-party network adapter, using the adapter ID and configuration keys from list_adapters.
Instructions
Creates an ad unit mapping that links an AdMob ad unit to a third-party network placement via an adapter. Get the adapter ID and required configuration keys from list_adapters. Requires the admob.monetization scope.
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": {
"adUnitId": "<adUnitId>",
"adapterId": "<adapterId>",
"adUnitConfigurations": "<adUnitConfigurations>"
},
"name": "create_ad_unit_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adUnitId | Yes | AdMob ad unit ID to attach the mapping to | |
| adapterId | Yes | Adapter ID from list_adapters | |
| displayName | No | Display name of the mapping | |
| adUnitConfigurations | Yes | Adapter configuration key/value pairs, keys from the adapter's adUnitConfigurations |