question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Banner Ads Not Appearing Correctly on Some Android Devices

See original GitHub issue

Describe the bug AdMob Banner ads appear fine on some devices, while appearing broken on others. I don’t think this issue is related to the layout of XAML. Because I only faced this issue on some devices.

Screenshots Screenshot

  • Device: Oppo Reno Z2, Xiaomi Redmi Note 9
  • OS: Android 10

This is my BannerAd.xaml codes <?xml version="1.0" encoding="UTF-8"?> <controls:MTAdView xmlns:controls="clr-namespace:MarcTron.Plugin.Controls;assembly=Plugin.MtAdmob" xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="QRScanner.Views.BannerAd" x:Name="bannerAd" IsVisible="{Binding IsAdsVisible}" PersonalizedAds="true" VerticalOptions="Fill" HeightRequest="50" AdsId="{OnPlatform Android='BANNER AD IF FOR ANDROID', iOS='BANNER AD IF FOR IOS" > </controls:MTAdView>

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
srknskrcommented, Aug 18, 2021

The problem still exists. As I understand it, 90px banner ads appear on some devices. Just like tablets. As such, the 90px banner ad overflows from the 50px area.

0reactions
onezerotechcommented, Sep 17, 2021

Yes, above issue still exists.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common reasons for ads not showing - Google AdMob Help
Use the following guide to understand common reasons why apps show few or no ads. If you're still having issues, use the Can't...
Read more >
Admob Ads do not show on some devices
I tried with my old phone (Samsung S8) and same ads show up successfully on this device. Now I am trying to figure...
Read more >
Banner ads | Android
This guide shows you how to integrate banner ads from AdMob into an Android app. ... The first step toward displaying a banner...
Read more >
AdMob ads not showing up (SOLVED)
When I run my game I get this : INFO:ADMOB: init but ads doesn't show on the screen. Also I set my Android...
Read more >
Admob Banner Ads not Displaying on android app ?
I recently create one android app for my own, once finished I added the interstitial ads as well as banner ads,.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found