I am trying to set up my Android app to show ads from the mediated networks (which by the way, has no good explanation anywhere), and here is what I have done so far:
1) I have copied the publisher ID to the xml view which will show the ads, and now, only AdMob ads show correctly on the device
2) I have created ad spaces in the associated networks, and connected them to my AdMob mediation, using the IDs provided by the networks.
3) I have imported the needed SDKs and adapters for the networks in my project
4) I have added the needed permissions and activities of the networks in my Manifest
Now this is my code:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
FlurryAdapterExtras flurryAdapterExtras = new FlurryAdapterExtras();
flurryAdapterExtras.setLogEnabled(true);
FlurryAgent.setLogLevel(Log.VERBOSE);
MillennialAdapterExtras millenialAdapterExtras = new MillennialAdapterExtras();
AdView mAdView = (AdView) findViewById(R.id.adView);
AdRequest adRequest = new AdRequest.Builder()
.addTestDevice("600447FDC2D619692F94F848E532BAC3")
.addNetworkExtras(flurryAdapterExtras)
.addNetworkExtras(millenialAdapterExtras)
.build();
mAdView.loadAd(adRequest);
}
And I am receiving only ads from AdMob, there is not even a mention of the other networks in the LogCat...
What could be wrong?
You will only receive an ad from another network