GAMBannerAdLoaderDelegate
@protocol GAMBannerAdLoaderDelegate <GADAdLoaderDelegate>
The delegate of a GADAdLoader object must conform to this protocol to receive GAMBannerViews.
-
Asks the delegate which banner ad sizes should be requested.
Declaration
Swift
func validBannerSizes(for adLoader: GADAdLoader) -> [NSValue]
Objective-C
- (nonnull NSArray<NSValue *> *)validBannerSizesForAdLoader: (nonnull GADAdLoader *)adLoader;
-
Tells the delegate that a Google Ad Manager banner ad was received.
Declaration
Swift
func adLoader(_ adLoader: GADAdLoader, didReceive bannerView: GAMBannerView)
Objective-C
- (void)adLoader:(nonnull GADAdLoader *)adLoader didReceiveGAMBannerView:(nonnull GAMBannerView *)bannerView;