TDInterstitialDelegate Protocol Reference

Conforms to NSObject
Declared in TDInterstitialAdDelegate.h

Overview

TDInterstitialDelegate defines methods you can implement to handle interstitial life-cycle updates.

– interstitialDidLoadAd:

Called when the interstital ad was loaded suceesfully. From this point, it is able to be presented.

- (void)interstitialDidLoadAd:(TDInterstitialAd *)ad

Parameters

ad

The TDInterstitialAf object that loaded an ad.

Declared In

TDInterstitialAdDelegate.h

– interstitial:didFailToLoadAdWithError:

Called when an interstitial ad loading failed.

- (void)interstitial:(TDInterstitialAd *)ad didFailToLoadAdWithError:(NSError *)error

Parameters

ad

The TDInterstitialAd object that failed to load ad

error

The error that occurred when loading the ad

Declared In

TDInterstitialAdDelegate.h

– interstitialWillPresent:

Called just before presenting an interstitial.

- (void)interstitialWillPresent:(TDInterstitialAd *)ad

Parameters

ad

The TDInterstitialAd object that will be presented

Declared In

TDInterstitialAdDelegate.h

– interstitialWillDismiss:

Called before the interstitial is to be animated off the screen.

- (void)interstitialWillDismiss:(TDInterstitialAd *)ad

Parameters

ad

The TDInterstitialAd object that will be dismissed

Declared In

TDInterstitialAdDelegate.h

– interstitialDidDismiss:

Called just after the interstitial is animated off the screen.

- (void)interstitialDidDismiss:(TDInterstitialAd *)ad

Parameters

ad

The TDInterstitialAd object that did dismiss

Declared In

TDInterstitialAdDelegate.h

– interstitialPlaybackFinished:

Called when inserstital playback has finished.

- (void)interstitialPlaybackFinished:(TDInterstitialAd *)ad

Parameters

ad

The TDinterstitialAd object that finished playing

Declared In

TDInterstitialAdDelegate.h

– interstitialWillLeaveApplication:

Called just before the application will go to the background or terminate because the user clicked on an ad that will launch another application (such as the App Store).

- (void)interstitialWillLeaveApplication:(TDInterstitialAd *)ad

Parameters

ad

The TDInterstitialAd object that will leave the application

Declared In

TDInterstitialAdDelegate.h