예제 #1
0
 private void loadInterstitial()
 {
     Debug.Log("Load Interstitial...");
     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.LoadInterstitialAd(API_KEY);
     }
 }
    //===============Interstitial Ad Methods===============

    public void loadInterstitial()         //called when btnLoadInterstitial Clicked
    {
        Debug.Log("Load Interstitial...");
        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.LoadInterstitialAd("JB9dhz");
        }
    }
예제 #3
0
 public void loadInterstitialAd()     //called when btnLoadInterstitial Clicked
 {
     Debug.Log("Load Interstitial...");
     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.LoadInterstitialAd("XqjhRR");  //feel free to use our test app key 'XqjhRR'
     }
 }