cordova-plugin-mopub icon indicating copy to clipboard operation
cordova-plugin-mopub copied to clipboard

Banner only half visible

Open mobilino opened this issue 8 years ago • 0 comments

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

mobilino avatar Mar 05 '16 20:03 mobilino