Interstitial Ads
Load
Interstitial Ads start loading automatically right after creation an instance:
string interstitialIdentifier = BidappBinding.Instance.CreateInterstitial();From creation function you will obtain an Interstitial Ad identifier that will be required to show and destroy ads, receive callbacks.
To check if Interstitial is Ready to be displayed you may use next function:
BidappBinding.Instance.IsInterstitialAdReady(interstitialIdentifier);Show
To show an interstitial ad, call showInterstitial instance function and provide the interstitial identifier:
BidappBinding.Instance.ShowInterstitial(interstitialIdentifier);Destroy with resource release
Call the following function to destroy interstitial:
BidappBinding.Instance.DestroyInterstitial(interstitialIdentifier);Callbacks / Delegates / Events
Register
To be able to register interstitial callbacks receiver you will need to inherit it from IBidappInterstitialDelegate
Then you need to register receiver of the callbacks for interstitial instance identifier:
Observe
You can observe ad loading events in callbacks:
Events related to displaying interstitial ad can be observed in callbacks:
Release
If you don't want to receive callbacks anymore you can unregister callback receiver instance:
Last updated
Was this helpful?