Create ad unit mapping
admob_create_ad_unit_mappingConnect an ad unit to a mediation adapter by specifying the adapter ID and configuration values.
Instructions
Create an ad unit mapping that connects one ad unit to a mediation adapter (v1beta, allowlisted). adapterId comes from admob_list_adapters; adUnitConfigurations keys are adapterConfigMetadataId values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, validate the inputs and return the exact API request that would be sent WITHOUT executing it. Default false: the operation runs after the MCP client asks you to confirm. | |
| adUnitId | Yes | ||
| adapterId | Yes | Adapter id (from admob_list_adapters). | |
| displayName | No | ||
| publisherId | No | AdMob publisher id or account resource name, e.g. "pub-1234567890123456" or "accounts/pub-1234567890123456". Defaults to ADMOB_PUBLISHER_ID, or the single account on the credentials. | |
| adUnitConfigurations | No | Map of adapterConfigMetadataId -> network-specific value. |