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.
-
Called before the ad view changes to the new size.
Declaration
Swift
func adView(_ bannerView: GADBannerView, willChangeAdSizeTo size: GADAdSize)
Objective-C
- (void)adView:(nonnull GADBannerView *)bannerView willChangeAdSizeTo:(GADAdSize)size;