Protocols

The following protocols are available globally.

  • Undocumented

    See more

    Declaration

    Swift

    @objc
    public protocol NativeAdDelegate
  • A protocol for handling events related to native ads.

    This protocol defines optional methods that can be implemented to handle various events associated with native ads, such as expiration, clicks, and impressions. Implementing this protocol allows for custom handling of these events within the native ad lifecycle.

    See more

    Declaration

    Swift

    @objc
    public protocol NativeAdEventDelegate
  • Undocumented

    Declaration

    Swift

    @objc
    public protocol PBMThirdPartyAdViewLoader : NSObjectProtocol
  • Undocumented

    See more

    Declaration

    Swift

    @objc
    public protocol PluginEventDelegate : NSObjectProtocol
  • Undocumented

    See more

    Declaration

    Swift

    @objc
    public protocol PrebidMobilePluginRenderer
  • A protocol for handling events related to banner ads in the PBM SDK.

    This protocol defines methods and properties for managing events associated with banner ads, including loading events, user interactions, and ad sizes. Implementing this protocol allows for custom handling of these events within the PBM SDK.

    See more

    Declaration

    Swift

    @objc
    public protocol BannerEventHandler : PBMPrimaryAdRequesterProtocol
  • A protocol for handling events related to banner ads in the PBM SDK.

    This protocol defines methods and properties for managing events associated with banner ads, including loading events, user interactions, and ad sizes. Implementing this protocol allows for custom handling of these events within the PBM SDK.

    See more

    Declaration

    Swift

    @objc
    public protocol BannerViewDelegate : NSObjectProtocol
  • Protocol for interaction with the InterstitialAdUnit .

    All messages will be invoked on the main thread.

    See more

    Declaration

    Swift

    @objc
    public protocol InterstitialAdUnitDelegate : NSObjectProtocol
  • Protocol for interaction with the RewardedAdUnit All messages will be invoked on the main thread.

    See more

    Declaration

    Swift

    @objc
    public protocol RewardedAdUnitDelegate : NSObjectProtocol
  • A protocol for handling events related to rewarded ads.

    This protocol extends PBMInterstitialAd and defines properties for delegates that handle events related to the ad server communication and user interactions with rewarded ads. Implementing this protocol allows for custom handling of these events within the rewarded ad lifecycle.

    See more

    Declaration

    Swift

    @objc
    public protocol RewardedEventHandlerProtocol : PBMInterstitialAd
  • This protocol is dedicated to manage the work with Mediation SDKs.

    See more

    Declaration

    Swift

    @objc
    public protocol PrebidMediationDelegate