InterstitialAdLoader

@objc(YMAInterstitialAdLoader)
@objcMembers
public class InterstitialAdLoader : NSObject

This class is responsible for loading an interstitial ad.

  • Tracks ad lifecycle events.

    Declaration

    Swift

    public weak var delegate: InterstitialAdLoaderDelegate? { get set }
  • Undocumented

    Declaration

    Swift

    override public convenience init()
  • Loads an ad with the specified targeting data.

    Declaration

    Swift

    @objc(loadAdWithRequestConfiguration:)
    public func loadAd(with request: AdRequestConfiguration)

    Parameters

    request

    Request configuration for targeting.

  • . Cancel the ad loading, that was launched in loadAdWithRequestConfiguration:requestConfiguration

    Declaration

    Swift

    public func cancelLoading()