Messages from FBNativeAdsManager indicating success or failure loading ads.
Extends Protocol: | NSObject |
Declared in: | FBNativeAdsManager.h |
nativeAdsFailedToLoadWithError:
When the FBNativeAdsManager has reached a failure while attempting to load a batch of ads this message will be sent to the application.
Parameter | Description |
---|---|
error | An NSError object with information about the failure. |
- (void)
nativeAdsFailedToLoadWithError:(NSError *)error;
FBNativeAdsManager.h
nativeAdsLoaded
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. When dispatched the message will include an array of FBNativeAd objects which were loaded. The application may choose to use the ads from this array or simply use this message to indicate that the manager is ready and then use nativeAdAt to retrieve ads. 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.
- (void)
nativeAdsLoaded;
FBNativeAdsManager.h