android - AdColony - AdMob Mediation / Test Ads Worked but Live Ads Does Not Worked -


i newbie in both in forum , in android world. developed singleplayer trivia game, named "reklamsız bilgi yarışması", supports local language accessable in on world.

i followed guides , integrated adcolony admob account , perfect results, test video ads.

however, after going live, nothing happened. many of customers wrote me can not ad videos. also, in admob, saw 650 requests happened , 4 of them video!

in adcolony statistics, saw 5 lucky guy requested video , got watched full video, took rewards.

so, how be? hundreds of request %0.25 of them answered admob (or adcolony), not understand.

lastly, %98 percent of customers turkey, %1 azerbaijan , %1 germany.

is there possible mistake in coding? because saw test ads, on physical device, not on emulator also.

thank !

<<<<<<<<<<<< in manıfest >>>>>>>>>>>>>>

<uses-permission android:name="android.permission.internet" /> <uses-permission android:name="android.permission.write_external_storage"/> <uses-permission android:name="android.permission.access_network_state"/> <uses-permission android:name="android.permission.access_fine_location"/> <uses-permission android:name="android.permission.read_phone_state" /> <uses-permission android:name="android.permission.vibrate" /> <uses-permission android:name="android.permission.access_wifi_state" />  <meta-data         android:name="com.google.android.gms.version"         android:value="@integer/google_play_services_version" />   <activity         android:name="com.google.android.gms.ads.adactivity"         android:configchanges="keyboard|keyboardhidden|orientation|screenlayout|uimode|screensize|smallestscreensize"         android:theme="@android:style/theme.translucent" />      <activity android:name="com.jirbo.adcolony.adcolonyoverlay"         android:configchanges="keyboardhidden|screensize"         android:theme="@android:style/theme.translucent.notitlebar.fullscreen" />      <activity android:name="com.jirbo.adcolony.adcolonyfullscreen"         android:configchanges="keyboardhidden|screensize"         android:theme="@android:style/theme.black.notitlebar.fullscreen" />      <activity android:name="com.jirbo.adcolony.adcolonybrowser"         android:configchanges="keyboardhidden|screensize"         android:theme="@android:style/theme.black.notitlebar.fullscreen" /> 

i have of needed codes in manifest think

<<<<<<<<<>>>>>>>>>>>

dependencies { compile filetree(dir: 'libs', include: ['*.jar'])  compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.google.android.gms:play-services-ads:9.8.0' compile 'com.google.firebase:firebase-core:9.8.0' }   apply plugin: 'com.google.gms.google-services' 

in libs, have "adcolony *jar"

<<<<<<<<<<< in java >>>>>>>>>>>>>

import com.jirbo.adcolony.adcolony; import com.jirbo.adcolony.adcolonyadapter; import com.jirbo.adcolony.adcolonybundlebuilder; import com.jirbo.adcolony.*; import com.google.ads.mediation.admob.admobadapter; import com.google.android.gms.ads.adrequest; import com.google.android.gms.ads.mobileads; import com.google.android.gms.ads.reward.rewarditem; import com.google.android.gms.ads.reward.rewardedvideoad; import com.google.android.gms.common.connectionresult; import com.google.android.gms.common.googleplayservicesutil;  public class oyunsonu extends activity implements rewardedvideoadlistener{ // have implementation importations stated above   private static final string ad_unit_id = "xxxxxxxx"; private static final string app_id = "xxxxxxxx"; private static final string logtag = "gms"; private boolean misrewardedvideoloading; private rewardedvideoad mrewardedvideoad2; private final object mlock = new object();    @override     protected void oncreate (bundle savedinstancestate){     super.oncreate(savedinstancestate);     setcontentview(r.layout.oyunsonu); checkgoogleplayservicesavailable();      mobileads.initialize(this, app_id);      mrewardedvideoad2 = mobileads.getrewardedvideoadinstance(this);     mrewardedvideoad2.setrewardedvideoadlistener(this);     loadrewardedvideoad();    }   private void loadrewardedvideoad() {     synchronized (mlock) {         if (!misrewardedvideoloading && !mrewardedvideoad2.isloaded()) {              misrewardedvideoloading = true;             bundle extras = new bundle();             extras.putboolean("_norefresh", true);             adrequest adrequest = new     adrequest.builder().addnetworkextrasbundle(adcolonyadapter.class, extras)                     .addnetworkextrasbundle(admobadapter.class, extras)                     .build();             mrewardedvideoad2.loadad(ad_unit_id, adrequest);          }     } }  private void showrewardedvideo() {     if (mrewardedvideoad2.isloaded()) {         mrewardedvideoad2.show();     } }  private boolean checkgoogleplayservicesavailable() {     final int status =     googleplayservicesutil.isgoogleplayservicesavailable(getapplicationcontext())    ;     if (status == connectionresult.success)     {         return true;     }      log.e(logtag, "google play services not available: " + googleplayservicesutil.geterrorstring(status));      if (googleplayservicesutil.isuserrecoverableerror(status))     {         final dialog errordialog = googleplayservicesutil.geterrordialog(status, this, 1);         if (errordialog != null)         {             errordialog.show();         }     }      return false; }   @override public void onrewardedvideoadleftapplication() {  }  @override public void onrewardedvideoadclosed() {     loadrewardedvideoad(); }  @override public void onrewardedvideoadfailedtoload(int errorcode) {     misrewardedvideoloading = false;     toast.maketext(this, "sunucu kaynaklı hata! Ödüllü reklam mevcut değil!", toast.length_short).show();     reklamizlex.setvisibility(view.invisible); }  @override public void onrewardedvideoadloaded() {     misrewardedvideoloading = false;     reklamizlex.setvisibility(view.visible); }  @override public void onrewardedvideoadopened() {  }  @override public void onrewarded(rewarditem reward) {      rekflag = 1;     yenidenoyna.setbackgroundresource(r.drawable.butonbosgri);     anamenuyegit.setbackgroundresource(r.drawable.butonbosgri);     reklamizlex.setbackgroundresource(r.drawable.butonbosgri);     final intent yenidenoynamakr = new intent(getapplicationcontext(), sorulars.class);     yenidenoynamakr.putextra("rekdurumu", rekflag);     yenidenoynamakr.putextra("sonskorx", sonskorz);     yenidenoynamakr.putextra("katsec", katdurumu);     yenidenoynamakr.putextra("ajdurumu", ajsay);     yenidenoynamakr.putextra("yydurumu", yysay);     yenidenoynamakr.putextra("sdegdurumu", dsay);     yenidenoynamakr.putextra("ssaydurumu", ssay);     yenidenoynamakr.putextra("jokkodurumu", jokko);     startactivity(yenidenoynamakr);  }  @override public void onrewardedvideostarted() {  }  } 

here codes used, "rewarded video ads"

i not solve problem think caused adcolony. because 7 people manage see live ads, others got warning "rewardedvideofailedtoload". think adcolony limited ad views because app has 2.500 hit , 99% exist in turkey. location , download numbers. i've updated game chartboost.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -