AppOpenAdLoader

@objc(YMAAppOpenAdLoader)
@objcMembers
public class AppOpenAdLoader : NSObject

This class is responsible for loading an app open ad.

  • Tracks ad lifecycle events.

    Declaration

    Swift

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

    Declaration

    Swift

    override public 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()