Protocols

The following protocols are available globally.

  • Protocol implemented by SASBidderAdapter’s delegate.

    Use this protocol to provide information about the ad loading status or events of bidder SDK banners to the Smart Display SDK.

    See more

    Declaration

    Objective-C

    @protocol SASBannerBidderAdapterDelegate <NSObject>

    Swift

    protocol SASBannerBidderAdapterDelegate : NSObjectProtocol
  • Protocol that must be implemented by SASBannerView delegate.

    See more

    Declaration

    Objective-C

    @protocol SASBannerViewDelegate <NSObject>

    Swift

    protocol SASBannerViewDelegate : NSObjectProtocol
  • A protocol to be implemented by bidder adapter classes to beneficiate of inapp in-app bidding and Holistic+ capabilities.

    See more

    Declaration

    Objective-C

    @protocol SASBidderAdapterProtocol <NSObject>

    Swift

    protocol SASBidderAdapterProtocol : NSObjectProtocol
  • SASBiddingManager delegate protocol.

    Implement this protocol to be notified when an ad bidding call is successful or failed and to retrieve the ad response if any.

    See more

    Declaration

    Objective-C

    @protocol SASBiddingManagerDelegate <NSObject>

    Swift

    protocol SASBiddingManagerDelegate : NSObjectProtocol
  • Protocol implemented by SASBidderAdapter’s delegate.

    Use this protocol to provide information about the ad loading status or events of bidder SDK interstitials to the Smart Display SDK.

    See more

    Declaration

    Objective-C

    @protocol SASInterstitialBidderAdapterDelegate <NSObject>

    Swift

    protocol SASInterstitialBidderAdapterDelegate : NSObjectProtocol
  • Protocol that must be implemented by SASInterstitialManager delegate.

    See more

    Declaration

    Objective-C

    @protocol SASInterstitialManagerDelegate <NSObject>

    Swift

    protocol SASInterstitialManagerDelegate : NSObjectProtocol
  • Protocol that must be implemented by mediation adapters that load and return banner ads.

    See more

    Declaration

    Objective-C

    @protocol SASMediationBannerAdapter <NSObject>

    Swift

    protocol SASMediationBannerAdapter : NSObjectProtocol
  • Protocol implemented by SASMediationBannerAdapter delegate.

    Use this protocol to provide information about the ad loading status or events to the Smart Display SDK.

    See more

    Declaration

    Objective-C

    @protocol SASMediationBannerAdapterDelegate <NSObject>

    Swift

    protocol SASMediationBannerAdapterDelegate : NSObjectProtocol
  • Protocol that must be implemented by mediation adapters that load and return interstitial ads.

    See more

    Declaration

    Objective-C

    @protocol SASMediationInterstitialAdapter <NSObject>
  • Protocol implemented by SASMediationInterstitialAdapter delegate.

    Use this protocol to provide information about the ad loading status or events to the Smart Display SDK.

    See more

    Declaration

    Objective-C

    @protocol SASMediationInterstitialAdapterDelegate <NSObject>

    Swift

    protocol SASMediationInterstitialAdapterDelegate
  • Protocol that must be implemented by mediation adapters that load and return native ads.

    See more

    Declaration

    Objective-C

    @protocol SASMediationNativeAdAdapter <NSObject>

    Swift

    protocol SASMediationNativeAdAdapter : NSObjectProtocol
  • Protocol implemented by SASMediationNativeAdAdapter delegate.

    Use this protocol to provide information about the ad loading status or events to the Smart Display SDK.

    See more

    Declaration

    Objective-C

    @protocol SASMediationNativeAdAdapterDelegate <NSObject>

    Swift

    protocol SASMediationNativeAdAdapterDelegate : NSObjectProtocol
  • Protocol that must be implemented by mediation adapters that load and return rewarded video ads.

    See more

    Declaration

    Objective-C

    @protocol SASMediationRewardedVideoAdapter <NSObject>

    Swift

    protocol SASMediationRewardedVideoAdapter : NSObjectProtocol
  • Protocol implemented by SASMediationRewardedVideoAdapter delegate.

    Use this protocol to provide information about the ad loading status or events to the Smart Display SDK.

    See more

    Declaration

    Objective-C

    @protocol SASMediationRewardedVideoAdapterDelegate <NSObject>

    Swift

    protocol SASMediationRewardedVideoAdapterDelegate : NSObjectProtocol
  • Protocol that must be implemented by SASNativeAd delegate.

    See more

    Declaration

    Objective-C

    @protocol SASNativeAdDelegate <NSObject>

    Swift

    protocol SASNativeAdDelegate : NSObjectProtocol
  • The delegate of a SASNativeAdMediaView object must adopt the SASNativeAdMediaViewDelegate protocol.

    Note

    This delegate is only media related. For example a click, which is related to the SASNativeAd binded to the SASNativeAdMediaView will not trigger any methods of the SASNativeAdMediaViewDelegate protocol.
    See more

    Declaration

    Objective-C

    @protocol SASNativeAdMediaViewDelegate <NSObject>

    Swift

    protocol SASNativeAdMediaViewDelegate
  • Protocol that must be implemented by SASRewardedVideoManager delegate.

    See more

    Declaration

    Objective-C

    @protocol SASRewardedVideoManagerDelegate <NSObject>

    Swift

    protocol SASRewardedVideoManagerDelegate : NSObjectProtocol