How to integrate Airpush banner with AdMob Mediation?
I'm currently using AdMob Mediation for an Android App to display banner ads.
I would like to add Airpush banners too. The problem is that I can't find any documentation on the Web on how to achieve that.
Do you have integrate Airpush successfully with AdMob Mediation? How? If it is impossible, what is a possible workaround?
Thanks!
It doesn't seem possible. From here.
Which ad networks are available in AdMob Mediation?
AdMob Mediation currently works with Adfonic, AdMob, BrightRoll, HUNT Mobile Ads, iAd, InMobi, Jumptap, Millennial, and MobFox. Don't see your favorite ad network? Support for more ad networks is coming soon!
I don't see Airpush in their list.
A possible workaround would be to have two ad view, one with admob and the other with airpush (or any other ad network) and then implement AdListener and in onFailedToReceiveAd
hide the admob banner and show the airpush one.
I don't know airpush's API so I don't know how you go back from Airpush to Admob but I would look for something similar.
Edit: Looking further, your best bet to go back from Airpush to Admob is probably to use an AdCallbackListener and its onAdError(String) method. See here:
Another way to do this is to use Adience AdBoost, they allow mediation with Airpush and a bunch of other networks. Worth a try...
链接地址: http://www.djcxy.com/p/32288.html