DFPBannerViewOptions

@interface 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: AnyObject! { get set }

    Objective-C

    @property (readwrite, nonatomic, nullable) id<GADAppEventDelegate>
        appEventDelegate;
  • Optional delegate that is notified if the loaded banner changes size.

    Declaration

    Swift

    weak var adSizeDelegate: AnyObject! { get set }

    Objective-C

    @property (readwrite, nonatomic, nullable) id<GADAdSizeDelegate> adSizeDelegate;
  • Whether the publisher will record impressions manually when the ad becomes visible to the user.

    Declaration

    Swift

    var enableManualImpressions: Int32 { get set }

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL enableManualImpressions;