Rewarded Ads
#
1. Load an ad- Loading ads requires some time, so it is recommended to pre-load the 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 RewardVideo 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 TradPlusADRewardedDelegate 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. Server-side Reward Verification- TPSDK will pass it to the third-party SDK through this API.
#
5. Integration ReferenceReference: TradPlusAdRewardedViewController