Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ADInterstitialAd

ADInterstitialAd is a wrapper around the ADInterstitialAd class found in the Apple iAd framework and is only available on iPad.
Read time 1 minuteLast updated 4 days ago

Definition

Warning
Removed. iOS.ADInterstitialAd class is obsolete, Apple iAD service discontinued
public sealed class ADInterstitialAd

Remarks

It provides full-screen advertisements that your iPad application can display to the user.
Please note that this class is a thin wrapper around the iOS native iAD class, so care should be taken when creating/destroying instances of it frequently. If you need to show ads frequently, instead of constantly destroying and recreating the object you should manually call ADInterstitialAd.ReloadAd, or create an auto-reloading ADInterstitialAd.
iOS.ADInterstitialAd class is obsolete. Apple iAD service discontinued.

Constructors

Constructor

Description

ADInterstitialAd()Creates an interstitial ad.
ADInterstitialAd(System.Boolean)Creates an interstitial ad.

Properties

Property

Description

loadedHas the interstitial ad object downloaded an advertisement? (Read Only)

Static Properties

Property

Description

isAvailableChecks if InterstitialAd is available (it is available on iPad since iOS 4.3, and on iPhone since iOS 7.0).

Methods

Method

Description

ReloadAdReload advertisement.
ShowShows full-screen advertisement to user.

Delegates

Delegate

Description

ADInterstitialAd.InterstitialWasLoadedDelegateWill be called when ad is ready to be shown.
ADInterstitialAd.InterstitialWasViewedDelegateWill be called when user viewed ad contents: i.e. they went past the initial screen. Please note that it is impossible to determine if they clicked on any links in ad sequences that follows the initial screen.