Create mediation group
create_mediation_groupCreates an AdMob mediation group for a given ad format and platform, linking ad units and optionally adding mediation lines for third-party ad sources.
Instructions
Creates a mediation group targeting a format/platform and a set of ad units, with optional mediation lines for third-party ad sources. Requires the admob.monetization scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Targeted ad format | |
| platform | Yes | Targeted platform | |
| adUnitIds | Yes | AdMob ad unit IDs this mediation group serves | |
| displayName | Yes | Display name of the mediation group | |
| idfaTargeting | No | iOS IDFA targeting | |
| excludedRegionCodes | No | CLDR region codes to exclude | |
| mediationGroupLines | No | Mediation lines (ad sources) in the group | |
| targetedRegionCodes | No | CLDR region codes to target (omit for all regions) |