InterstitialAdLoaderDelegate
@objc(YMAInterstitialAdLoaderDelegate)
public protocol InterstitialAdLoaderDelegate : NSObjectProtocol
Undocumented
-
Notifies that the ad loaded successfully.
Declaration
Swift
func interstitialAdLoader(_ adLoader: InterstitialAdLoader, didLoad interstitialAd: InterstitialAd)Parameters
adLoaderA reference to an object of the
InterstitialAdLoaderclass that invoked the method.interstitialAdInterstitial ad that is loaded and ready to be displayed.
-
Notifies that the ad failed to load.
Declaration
Swift
func interstitialAdLoader(_ adLoader: InterstitialAdLoader, didFailToLoadWithError error: AdRequestError)Parameters
adLoaderA reference to an object of the
InterstitialAdLoaderclass that invoked the method.errorInformation about the error (for details, see
AdErrorCode).