Adding AdMob to project with MobFox SDK currently integrated

I downloaded and integrated the MobFox SDK into my app and it works just fine (currently receiving test banners only).

I also have an AdMob account and wish to now use AdMob for when I don't receive an ad from MobFox.

I've looked at the MobFox website, but can't find any documentation that explains how this can be achieved.

It doesn't help that I'm new to mobile Ad networks.

I am assuming that I need to set up mediation - do I need to set this up within my MobFox account or within my AdMob account (or both?).

I'm guessing, that as the AdMob mediation with MobFox isn't server-side, I would also have to integrate AdMob's SDK also (I've done this before so shouldn't be a problem) - just not sure how to use both in a project that already has the MobFox SDK integrated.

Any pointers would be appreciated


Do I need to set up mediation on my MobFox account, AdMob account, or both accounts?

The mediation setup is done on one of the sites. It requires you to enter a ID from the other network. You will need accounts on both sites, a "ad unit" on AdMob and a "publication" on MobFox. You have to decide who you would like to do the mediation.

Your specific mediation setup will determine which network has priority in which cases.

Will I have to integrate <other network>s SDK as well?

For some mediation you will need to include a SDK/adapter. This mostly comes down to including a JAR, adding it to the build path, and then having a couple of changes in your manifest. The code for showing the ad itself remains the same.

  • If MobFox is your mediation host: Adapter/SDK details for AdMob
  • If AdMob is your mediation host: Adapter/SDK details for all networks
  • 链接地址: http://www.djcxy.com/p/5538.html

    上一篇: 在AdWords中使用Swiffy html5横幅

    下一篇: 将AdMob添加到目前已集成的MobFox SDK的项目中