NativeBulkAdLoaderDelegate

@objc(YMANativeBulkAdLoaderDelegate)
public protocol NativeBulkAdLoaderDelegate : NSObjectProtocol

Undocumented

  • Notifies that a native ads are loaded.

    Declaration

    Swift

    @objc(nativeBulkAdLoader:didLoadAds:)
    func nativeBulkAdLoader(_ nativeBulkAdLoader: NativeBulkAdLoader, didLoad ads: [NativeAd])

    Parameters

    nativeBulkAdLoader

    The loader that sends the message.

    ads

    Loaded native ads.

  • Notifies that the ads failed to load.

    Declaration

    Swift

    @objc(nativeBulkAdLoader:didFailLoadingWithError:)
    func nativeBulkAdLoader(_ nativeBulkAdLoader: NativeBulkAdLoader, didFailLoadingWithError error: Error)

    Parameters

    nativeBulkAdLoader

    The loader that sends the message.

    error

    Information about the error (for details, see AdErrorCode).