Integrating the MoPub SDK
Integrating with Third Party Networks
Other
The MoPub SDK can mediate most ad networks through our server-to-server integrations, pre-built adapters, and custom events capabilities. A full list of supported networks can be found here.
We offer pre-built adaptors for AdColony, AdMob, Chartboost, Conversant, Facebook Audience Network, InMobi, Millennial Media, and Vungle. To set these integrations up, follow the instructions below.
The extras/com/mopub/mobileads folder contains a set of custom events; simply copy the ones you want into com.mopub.mobileads in your src/ directory. Currently, our SDK supports the following third-party ad types:
AdColonyInterstitial.java)GooglePlayServicesBanner.java)GooglePlayServicesInterstitial.java)ChartboostInterstitial.java)FacebookBanner.java)FacebookInterstitial.java)GreystripeBanner.java)GreystripeInterstitial.java)InMobiBanner.java)InMobiInterstitial.java)MillennialBanner.java)MillennialInterstitial.java)VungleInterstitial.java)Incorporate the third party SDKs into your project. This typically involves copying a .jar file to your libs/ directory and adding an entry to your build path. Specific instructions can be found by visiting the ad networks' developer pages.
Full instructions for integrating the ad networks can be found here:
No changes are required to any of the other code! Be sure to visit the MoPub dashboard to set up the corresponding network campaigns and target the proper ad units. For additional network tips and other Frequently Asked Questions, take a look at: http://dev.twitter.com/mopub.
Note that AdColony, Conversant, InMobi, Facebook Audience Network, and Vungle should be set up as a custom native networks. Visit our help center for more information.