GoogleMobileAds Framework Reference

  • The GADAdSizeDelegate protocol enables a class to be notified about changes in a GADBannerView's ad size.

  • This notification allows any views affected by the banner size change to adjust accordingly before the change takes place.

  • The adView:willChangeAdSizeTo: method is called prior to the ad view resizing, providing the new size.

GADAdSizeDelegate

@protocol GADAdSizeDelegate <NSObject>

The class implementing this protocol will be notified when the GADBannerView’s ad content changes size. Any views that may be affected by the banner size change will have time to adjust.