InterstitialAdUnitDelegate
@objc
public protocol InterstitialAdUnitDelegate : NSObjectProtocol
Protocol for interaction with the InterstitialAdUnit .
All messages will be invoked on the main thread.
-
Called when an ad is loaded and ready for display
Declaration
Swift
@objc optional func interstitialDidReceiveAd(_ interstitial: InterstitialRenderingAdUnit)
-
Called when the load process fails to produce a viable ad
Declaration
Swift
@objc optional func interstitial(_ interstitial: InterstitialRenderingAdUnit, didFailToReceiveAdWithError error:Error? )
-
Called when the interstitial view will be launched, as a result of show() method.
Declaration
Swift
@objc optional func interstitialWillPresentAd(_ interstitial: InterstitialRenderingAdUnit)
-
Called when the interstitial is dismissed by the user
Declaration
Swift
@objc optional func interstitialDidDismissAd(_ interstitial: InterstitialRenderingAdUnit)
-
Called when an ad causes the sdk to leave the app
Declaration
Swift
@objc optional func interstitialWillLeaveApplication(_ interstitial: InterstitialRenderingAdUnit)
-
Called when user clicked the ad
Declaration
Swift
@objc optional func interstitialDidClickAd(_ interstitial: InterstitialRenderingAdUnit)