<IMAAdsLoaderDelegate> Protocol Reference

<IMAAdsLoaderDelegate> Protocol Reference

Overview

Delegate object that receives state change callbacks from IMAAdsLoader.

Instance Methods

(void) - adsLoader:adsLoadedWithData:
 Called when ads are successfully loaded from the ad servers by the loader. More...
 
(void) - adsLoader:failedWithErrorData:
 Error reported by the ads loader when loading or requesting an ad fails. More...
 

Method Documentation

- (void) adsLoader: (IMAAdsLoader *)  loader
adsLoadedWithData: (IMAAdsLoadedData *)  adsLoadedData 

Called when ads are successfully loaded from the ad servers by the loader.

Parameters
loaderthe IMAAdsLoader that received the loaded ad data
adsLoadedDatathe IMAAdsLoadedData instance containing ad data
- (void) adsLoader: (IMAAdsLoader *)  loader
failedWithErrorData: (IMAAdLoadingErrorData *)  adErrorData 

Error reported by the ads loader when loading or requesting an ad fails.

Parameters
loaderthe IMAAdsLoader that received the error
adErrorDatathe IMAAdLoadingErrorData instance with error information

Send feedback about...

IMA Client-Side SDK for tvOS
Need help? Visit our support page.