cordova-plugin-mopub
cordova-plugin-mopub copied to clipboard
Banner only half visible
Hi,
I added a banner to my phonegap build app using the following code
MoPub.createBanner( {
// adSize: MoPub.AD_SIZE.SMART_BANNER, // tried this too
adId: ad_units.banner,
position:MoPub.AD_POSITION.TOP_CENTER, // tried bottom too
offsetTopBar: true, // tried false too
autoShow: true,
error: onAdFailLoad,
success: onAdLoaded} );
The "MoPub Demo Line Item" displays ok with black bars on both sides. However, real "MoPub Marketplace" ads seem to be scaled and does not show black bars. Instead the ads are truncated on the bottom. :-( Screenshot: http://www.mobilino.de/FullSizeRender.jpg
Please advice.
Is this possibly a bug? ~~Are your calculating the necessary height of the banner area in px or in dip? This post points out that this might be the problem: https://groups.google.com/a/mopub.com/forum/#!topic/mopub-users/Fhzs9x37njE~~
Looking forward to your reply!
/Christof