Interstitials
#
1. Load an ad- It takes some time to load ads, so it is recommended to pre-load ads before displaying them.
- AdUnitID is the Ad Unit ID created in the TradPlus backend. SDK will fetch the configuration and request ads according to the Ad Unit ID.
#
2. Show Interstitial Ad- Call the
isAdReady
method to check if there is an available ad. When there is an available ad, call theshowAdWithSceneId:
method to display the ad. - sceneId is the Ad Scene ID. The default is nil.
#
3. Register TradPlusADInterstitialDelegate Callback- Ad event callbacks need to be registered before displaying an ad. Get callbacks for ad loading, ad show, ad click, ad close, etc.
#
4. Integration ReferenceReference: TradPlusAdInterstitialViewController