I have setup AdMob ads in my app and tested if they work. Now I also have added the Leadbolt network to the same Ad unit
in AdMob but I am not getting Leadbolt ads to show up and am wondering if I'm doing something wrong or this is not even possible to test when I build test requests fro AdMob. This is how I request a test add.
AdRequest adRequest = new AdRequest.Builder()
.addTestDevice("XXXXXXXXX")
.build();
Now I have done everything the Leadbolt setup tells me.
$20.00
, I also tried with $0,01
.new AdRequest.Builder().addTestDevice("XXXX").build();
But I have tried a couple of times without testing.I have added the activity to AndroidManifest.xml
<activity android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:name="com.apptracker.android.module.AppModuleActivity"
android:hardwareAccelerated="false">
</activity>
I have also set the permissions:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Have I missed anything? If not then how can I test ads from a 3th party network when I am not allowed to request real ads in a development state?
Mediation can be a rough spot for testing. The way the AdMob testing architecture works involves swapping your production ad unit ID for a test ad unit ID, which means your mediation configuration is not used.
You can work around this by doing these steps:
addTestDevices
from your request building logic.The big thing for AdMob is that you don't view AdMob's production ads while testing, and you definitely don't click through AdMob's production ads while testing. These steps should avoid both.