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
- Type: Class
- Namespace: UnityEngine.iOS
- Assembly: UnityEngine.CoreModule
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 |
|---|---|
| loaded | Has the interstitial ad object downloaded an advertisement? (Read Only) |
Static Properties
Property | Description |
|---|---|
| isAvailable | Checks if InterstitialAd is available (it is available on iPad since iOS 4.3, and on iPhone since iOS 7.0). |
Methods
Delegates
Delegate | Description |
|---|---|
| ADInterstitialAd.InterstitialWasLoadedDelegate | Will be called when ad is ready to be shown. |
| ADInterstitialAd.InterstitialWasViewedDelegate | Will 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. |