B4A Library MoPub Ad Server Library (Updated to v4.6.1 , 29 May 2016) - 20+ ad networks (AdMob , etc.)


Library (Updated to v4.6.1 , 29 May 2016)
MoPub Official Website
Google Play Policies
MoPub is the world largest mobile ad server (mediation platform) and RTB exchange (MoPub marketplace). Now it belongs to Twitter. It is the main competitor to AdMob , but MoPub primary focus is mediation of ads. The following ad networks work just right out of the box:

All networks are tested and use official java code of these networks.
AdColony can use only interstitial or rewarded video, if you will use both in your project - it will not work.
Tapjoy - please test, integration is rather complicated, so for now I didn't test it myself, but normally it should work.
Native ads are not supported for now.
Note: I advise you to use logcat logs in B4A (without filter checked) or this standalone utility to see all error codes and a lot of additional info about loading your ads.

Please vote for ad network you want to see in MoPub Library



Roadmap:
Add support for Madvertise , RevMob , AppNext , Inneractive , TapContext , Amazon Ads , Flurry , MobPartner , MDotm
Note: possibly to make wrapper for MobFox as alternative to MoPub , because as from May 14, 2014 their SDK supports custom events to integrate other networks SDK , also maybe wrapper for mAdserve as self-hosting solution for mediating ads.


Tags: MoPub , MobFox , Mojiva , Lifestreet media , Hunt mobile ads , Tapit , AdMob , Millennial Media , Inmobi , Chartboost , Greystripe , AppBrain , TapForTap , MobileCore , AppLovin , Leadbolt , Facebook , AdColony , Vungle , StartApp , mNectar , Ad Network Library

Links:
MoPub B4A v4.6.1 update (Updated 29 May 2016)
MoPub B4A Library v4.2 Additional SDK's (Updated 30 November 2015)
I have included demo project with all listener methodes. You can compile that project with default id's to test ads.
Also I have written detailed but simple as possible guide to integrate all of the networks and general help how to use MoPub.
Soon I will update guide and published it, for now please see demo project.

Good luck !
Regards
John


 

Attachments

  • MoPub B4A Library v4.2.zip
    451.5 KB · Views: 480
Last edited:

Davin

Member
Licensed User
Longtime User
Hi John, any tutorial how to implement video ads ( especially unity ads ) ? i check some of the previous page. Base64 say something about PDF file. but i check all of your file. there is no PDF File.


thanks
 

Davin

Member
Licensed User
Longtime User
hi john. if old one is it still valid in some way ? at least for some reference for me.
 

daniel69

Member
Licensed User
Longtime User
Hi! Google Play policy requires to migrate to MoPub v4.4.0 or higher (security issues) as soon as possible (within July 10th 2016). Are there any plans to bundle it?
 

daniel69

Member
Licensed User
Longtime User
Hi! I've configured in my mopub account a Custom Native Network for Amazon banners as follows

CUSTOM EVENT CLASS
com.mopub.mobileads.AmazonEventBanner

CUSTOM EVENT CLASS DATA
{
"appKey": "myamazonkey"

}

and I'm using the following app manifest for the amazon banner (using the last edition of the MoPub Ad Server Library)
<activity android:name="com.amazon.device.ads.AdActivity" android:configChanges="keyboardHidden|orientation|screenSize"/>

Everything is running ok (the app is running smoothly, displaying ads using mopub from all networks but amazon), but my mopub account reports for Amazon many attempts (80,000) to display the banner but 0 impressions (ads from other networks such as AdMob or AppBrain or Marketplace are displayed without problems)

Any suggestion?
 

Johnmcenroy

Active Member
Licensed User
Longtime User
diegoferreira, Hi
I have tested all rewarded videos , all worked. Sorry I had no time to write a good guide for using it. I will try in short time.

daniel69, Hi
When I have tested Amazon banners - all worked, but for now they changed their SDK version and have their own MoPub adapters, I will try to update it in short time.

Dear users of MoPub library , I am working and will support this library but have no a lot of time to support it more often. Sorry for that , I will update it soon with new guide and new MoPub sdk.

Regards
John
 
Last edited:

tufanv

Expert
Licensed User
Longtime User
We are running out of time for the google policy. If we cant have the library we will have to delete the ads from all the apps i think :/. Thank you for your help
 

Johnmcenroy

Active Member
Licensed User
Longtime User
Hi Jack Cole and tufanv. I know about policy. I am using MoPub myself in my apps. I will update library this week. Also the full text :
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…