-
Notifications
You must be signed in to change notification settings - Fork 72
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
How do I fix banner ad placement for specific ads #310
Comments
Some of my implementation code: SizeChanged listener setup:
Banner ad initialization:
_adMobSizeChanged:
|
To be honest I haven't seen this before. Have you tried debug it with android studio and see if is the plugin view what is not center? I have the feeling that it is an Admob issue. |
Thank-you @distante for your suggestion. I debugged the ad placement through XCode, and got the following results. After watching the Here is an example of the output gathered:
Are these numbers what you would expect to see? I haven't made any other changes to the plugin's code (v5.3.0). This is my modified version of
` public func bannerViewDidReceiveAd(_ bannerView: GADBannerView) {
` I captured examples of correct and of incorrectly placed ads and there were no differences in the logged output. Correct: Incorrect: Thanks for taking a look at this. Given that I've never seen this behaviour in other apps before, I need to know for certain if this is an issue specific to my app, or an admob issue. |
Describe the bug
Specific banner (top and adaptive) are displayed off-center in both my android and my ios apps.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Banner ad should be centered
Screenshots
Quickbooks
KalTire
Smartphone (please complete the following information):
Additional context
This issue happens for specific ads only, some examples include: Scotiabank (shifted up and left), Kraken (shifted left, might be shifted up, can't tell), MB Minerals, QuickBooks, Rogers
The text was updated successfully, but these errors were encountered: