GoogleMobileAds Framework Reference

DFPBannerViewOptions

class DFPBannerViewOptions : GADAdLoaderOptions

Ad loader options for banner ads.

  • Optional delegate that is notified if the loaded banner sends app events.

    Declaration

    Swift

    weak var appEventDelegate: GADAppEventDelegate? { get set }
  • Optional delegate that is notified if the loaded banner changes size.

    Declaration

    Swift

    weak var adSizeDelegate: GADAdSizeDelegate? { get set }
  • Whether the publisher will record impressions manually when the ad becomes visible to the user.

    Declaration

    Swift

    var enableManualImpressions: Bool { get set }