ALNativeAdLoadDelegate Protocol Reference

Declared in ALNativeAdLoadDelegate.h

– nativeAdService:didLoadAds: required method

This method is invoked when the native ad service loads an ad.

- (void)nativeAdService:(ALNativeAdService *)service didLoadAds:(NSArray *)ads

Parameters

service

Native ad service which loaded the ad.

ads

NSArray containing ALNativeAds which were loaded.

Discussion

This method is invoked when the native ad service loads an ad.

Declared In

ALNativeAdLoadDelegate.h

– nativeAdService:didFailToLoadAdsWithError: required method

This method is invoked when the native ad service fails to load ad.

- (void)nativeAdService:(ALNativeAdService *)service didFailToLoadAdsWithError:(NSInteger)code

Parameters

service

Native ad service which loaded the ad.

code

An error code corresponding with a constant defined in ALErrorCodes.h.

Discussion

This method is invoked when the native ad service fails to load ad.

Declared In

ALNativeAdLoadDelegate.h