# GoogleMobileAds Framework Reference

# GADMediationBannerAd

    @protocol GADMediationBannerAd <https://developers.google.com/admob/ios/api/reference/Protocols.html#/c:objc(pl)GADMediationAd>

Rendered banner ad. Provides a single subview to add to the banner view's view hierarchy.
- `


  ### [view](https://developers.google.com/admob/ios/api/reference/Protocols/GADMediationBannerAd#/c:objc(pl)GADMediationBannerAd(py)view)


  ` The banner ad view.

  #### Declaration

  Swift

      var view: UIView { get }

  Objective-C

      @property (nonatomic, readonly, nonnull) UIView *view;

- `


  ### [-changeAdSizeTo:](https://developers.google.com/admob/ios/api/reference/Protocols/GADMediationBannerAd#/c:objc(pl)GADMediationBannerAd(im)changeAdSizeTo:)


  ` Tells the ad to resize the banner. Implement if banner content is resizable.

  #### Declaration

  Swift

      optional func changeSize(to adSize: AdSize)

  Objective-C

      - (void)changeAdSizeTo:(https://developers.google.com/admob/ios/api/reference/Structs/GADAdSize.html)adSize;