Create mediation group
admob_create_mediation_groupCreate an AdMob mediation group to manage ad sources, set targeting by platform and format, and configure mediation lines for optimal ad serving.
Instructions
Create a mediation group (v1beta, allowlisted). targeting and mediationGroupLines follow the AdMob MediationGroup schema; supply them as objects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | ||
| 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. | |
| targeting | No | MediationGroupTargeting object (platform, format, adUnitIds, targetedRegionCodes, ...). | |
| displayName | Yes | ||
| 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. | |
| mediationGroupLines | No | Map of line id -> MediationGroupLine object. |