Thanks for taking a look at MoPub! We take pride in having an easy-to-use, flexible monetization solution that works across multiple platforms.
Sign up for an account at https://app.mopub.com/.
Help is available on the wiki, detailed class documentation is available at ClassDocumentation
The MoPub SDK is distributed as source code that you can include in your application. MoPub provides two prepackaged archives of source code:
-
Includes everything you need to serve HTML and MRAID MoPub advertisiments and built-in support for three major third party ad networks - iAd, Google AdMob, and Millennial Media - including the required third party binaries.
-
Includes everything you need to serve HTML and MRAID MoPub advertisements. No third party ad networks are included.
The current version of the SDK is 1.16.0.0
Integration instructions are available on the wiki.
More detailed class documentation is available in the repo under the ClassDocumentation
folder. This can be viewed online too.
Please view the changelog for details.
- Creative Controls
- Creative Flagging
- Important:
MPAdAlertGestureRecognizer
andMPAdAlertManager
classes as well asMessageUI.framework
must be added to your project to enable flagging functionality. - Allows users to report certain inappropriate ad experiences directly to MoPub with a special gesture.
- User must swipe back and forth at least four times within the ad view to flag a creative.
- Swipes must cover more than ⅓ of the ad width and must be completely horizontal.
- Only works for direct sold, Marketplace, and server to server ad network ads.
- Important:
- Blocked Popups
- Javascript alert, confirm, and prompt dialogs are blocked.
- Blocked Auto-redirects
- Ads that automatically redirect users to another page without user interaction are automatically blocked.
- Creative Flagging
- MoPub Video Pre-caching
- Video ads from the Marketplace will be pre-cached automatically and videos will not be shown until they can play without additional buffering.
- Simple Ads Demo Improvements
- 300x250 and 728x90 test spots added to the demo app.
- Vungle Custom Event
- Supports Vungle as a custom native ad network for interstitial videos.
- SKStoreProductViewController iOS 7 Orientation Crash Fix
- Fixes iOS 7 bug that causes SKStoreProductViewController to crash if the app does not list portrait as a supported orientation.
Important: As of version 1.14.0.0, the InMobi custom events packaged with the MoPub SDK only support InMobi version 4.00 and up. Follow the instructions here to integrate InMobi version 4.00 and up. If you would like to continue to use a prior version of the InMobi SDK, do not update the custom event files and follow the instructions here to integrate.
Important: As of version 1.12.0.0 all third party ad network integrations are now implemented as custom events instead of adapters.
Please remove any old adapters from your code and use the new custom events located in the
AdNetworkSupport
folder instead.
More information can be found on the wiki.
iOS 4.3 and up
The MoPub iOS SDK is open sourced under the New BSD license:
Copyright (c) 2013 MoPub Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of MoPub nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.