iOS SDK Version

FBNativeAdsManagerDelegate

@protocolFBNativeAdsManagerDelegate<NSObject>
@protocol FBNativeAdsManagerDelegate
Messages from FBNativeAdsManager indicating success or failure loading ads.
  • When the FBNativeAdsManager has finished loading a batch of ads this message will be sent. A batch of ads may be loaded in response to calling loadAds or due to an automatic refresh by the FBNativeAdsManager. At the point this message is fired all of the native ads will already be loaded and will not hence send their own nativeAdLoad: or nativeAd:didFailWithError: message.

    Declaration

    Objective-C
    -(void)nativeAdsLoaded;
    Swift
    funcnativeAdsLoaded()
  • When the FBNativeAdsManager has reached a failure while attempting to load a batch of ads this message will be sent to the application.

    Declaration

    Objective-C
    -(void)nativeAdsFailedToLoadWithError:(nonnullNSError*)error;
    Swift
    funcnativeAdsFailedToLoadWithError(_error:Error)

    Parameters