GoogleMobileAds Framework Reference

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: AdLoader) -> [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: AdLoader, didReceive bannerView: AdManagerBannerView) 
    

    Objective-C

     - (void)adLoader:(nonnull GADAdLoader 
    *)adLoader
        didReceiveGAMBannerView:(nonnull GAMBannerView 
    *)bannerView; 
    
Create a Mobile Website
View Site in Mobile | Classic
Share by: