GoogleMobileAds Framework Reference

GADMediationBannerAd

protocol GADMediationBannerAd : GADMediationAd

Rendered banner ad. Provides a single subview to add to the banner view’s view hierarchy.

  • Undocumented

    Declaration

    Swift

    var view: UIView { get }
  • Tells the ad to resize the banner. Implement if banner content is resizable.

    Declaration

    Swift

    optional func changeSize(to adSize: GADAdSize)