Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Banner only half visible #21

Open
mobilino opened this issue Mar 5, 2016 · 0 comments
Open

Banner only half visible #21

mobilino opened this issue Mar 5, 2016 · 0 comments

Comments

@mobilino
Copy link

mobilino commented Mar 5, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant