lpw
2026-07-16 807b36e8edef2c70145d394422251e02d0a2d534
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
//  GADAdSizeDelegate.h
//  Google Mobile Ads SDK
//
//  Copyright 2012 Google LLC. All rights reserved.
//
 
#import <Foundation/Foundation.h>
#import <GoogleMobileAds/GADAdSize.h>
 
@class GADBannerView;
 
/// 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.
NS_SWIFT_NAME(AdSizeDelegate)
@protocol GADAdSizeDelegate <NSObject>
 
/// Called before the ad view changes to the new size.
- (void)adView:(nonnull GADBannerView *)bannerView
    willChangeAdSizeTo:(GADAdSize)size NS_SWIFT_UI_ACTOR;
 
@end