void initAdmob()
 {
     //  isAdmobInited = true;
     ad = Admob.Instance();
     ad.bannerEventHandler        += onBannerEvent;
     ad.interstitialEventHandler  += onInterstitialEvent;
     ad.rewardedVideoEventHandler += onRewardedVideoEvent;
     ad.initAdmob("ca-app-pub-3076192958641421/3391964194", "ca-app-pub-3076192958641421/4868697393");
     //   ad.setTesting(true);
     ad.setGender(AdmobGender.MALE);
     string[] keywords = { "game", "crash", "male game" };
     ad.setKeywords(keywords);
     Debug.Log("admob inited -------------");
 }
Exemplo n.º 2
0
 //bool isAdmobInited = false;
 void initAdmob()
 {
     //  isAdmobInited = true;
     ad = Admob.Instance();
     ad.bannerEventHandler        += onBannerEvent;
     ad.interstitialEventHandler  += onInterstitialEvent;
     ad.rewardedVideoEventHandler += onRewardedVideoEvent;
     ad.nativeBannerEventHandler  += onNativeBannerEvent;
     ad.initAdmob("ca-app-pub-3940256099942544/2934735716", "ca-app-pub-3940256099942544/4411468910");
     //   ad.setTesting(true);
     ad.setGender(AdmobGender.MALE);
     string[] keywords = { "game", "crash", "male game" };
     ad.setKeywords(keywords);
     Debug.Log("admob inited -------------");
 }
Exemplo n.º 3
0
 //bool isAdmobInited = false;
 void initAdmob()
 {
     //  isAdmobInited = true;
     ad = Admob.Instance();
     // ad.bannerEventHandler += onBannerEvent;
     // ad.interstitialEventHandler += onInterstitialEvent;
     //ad.rewardedVideoEventHandler += onRewardedVideoEvent;
     //ad.nativeBannerEventHandler += onNativeBannerEvent;
     ad.initAdmob("ca-app-pub-8725679997372244/4435644010", "ca-app-pub-8725679997372244/8865843613");
     //   ad.setTesting(true);
     ad.setGender(AdmobGender.MALE);
     string[] keywords = { "game", "crash", "male game" };
     ad.setKeywords(keywords);
     Debug.Log("admob inited -------------");
 }