To discuss and provide feedback on our products, join the official AdMob Discord channel in the Google Advertising and Measurement Community server.

GoogleMobileAds Framework Reference

  • GADMediationBannerAdConfiguration is used to set up banner ad configurations for mediation.

  • adSize property defines the desired banner ad size for the ad request.

GADMediationBannerAdConfiguration


@interface GADMediationBannerAdConfiguration : GADMediationAdConfiguration 

Banner ad configuration.

  • Banner ad size requested of the adapter.

    Declaration

    Swift

    var adSize: AdSize { get }

    Objective-C

    @property (nonatomic, readonly) GADAdSize adSize;

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年08月20日 UTC.