public void requestRewardAd() //called when btnRequestReward Clicked { Debug.Log("Request Reward..."); if (Application.platform == RuntimePlatform.Android && chocoPlugin != null) { //Param 1: AdUnit Id (This is your SSP App ID you received from your account manager or obtained from the portal) chocoPlugin.RequestRewardAd("XqjhRR"); //feel free to use our test app key 'XqjhRR' } }
//===============Rewarded Video Ad Methods=============== public void requestReward() //called when btnRequestReward Clicked { Debug.Log("Request Reward..."); if (Application.platform == RuntimePlatform.Android && plugin != null) { //Param 1: AdUnit Id (This is your SSP App ID you received from your account manager or obtained from the portal) plugin.RequestRewardAd("JB9dhz"); } }
public void LoadInterstitial() //Interstitial Ad Button Load Clicked { Debug.Log("debug log ads => Loading Interstitial Ads... key: " + SSP_KEY); if (Application.platform == RuntimePlatform.Android && plugin != null) { //Param 1 : AdUnit Id (Get it from Vdopia Portal) plugin.RequestRewardAd(SSP_KEY); } }