NativeBulkAdLoader

@objc(YMANativeBulkAdLoader)
@objcMembers
public class NativeBulkAdLoader : NSObject

This class is responsible for loading native ads.

  • An object that implements the NativeBulkAdLoaderDelegate protocol that tracks the progress of bulk native ad loading.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    @objc(loadAdsWithRequestConfiguration:adsCount:)
    public func loadAds(with requestConfiguration: NativeAdRequestConfiguration, adsCount: Int)

    Parameters

    requestConfiguration

    Request configuration for targeting.

    adsCount

    Count of requested ads.