godot-admob-plugin
godot-admob-plugin copied to clipboard
[FEATURE] Banner on CUSTOM position?
Is your feature request related to a problem? Please describe. the title says it all. should be like X,Y coordinates from TOP or from BOTTOM or i can set the position of the banner in the code before creating it? or set the position on the banner with Percentage?
Thank you i will investigate this
I'll keep this Issue open, I was researching and I don't know if it's entirely possible what you want.
I believe that with NativeAds it is possible, but I don't know if with Banner it is.
If anyone is interested in working on this feature I would appreciate it.
on Poing-Studios/godot-admob-ios#45 it should be possible to change the position like:
class_name AdPosition
enum Values {
TOP,
BOTTOM,
LEFT,
RIGHT,
TOP_LEFT,
TOP_RIGHT,
BOTTOM_LEFT,
BOTTOM_RIGHT,
CENTER
}
but not custom, it should be done on v3.1.0
Hey just to add some more input here, maybe what GogetaX was experiencing and maybe different.
I want my banner ads to be positioned across the top of the game's viewport permanently.
It appears that the AdPosition.TOP
setting always positions the ad at the top of the device's screen.
If there isn't sufficient space between the top of the viewport and the top of the screen then the banner will overlap the game view.
If there is too much space due to maintaining aspect ratio, the ad will be at the top and there will be black space between the game view and the ad.
It feels awkward that I (don't think at least) can't position the ad just above the game view.
Actually, I believe that the overlapping is technically a violation from admob policy. Check the Ad overlapping with app content
section in the link below.
https://support.google.com/admob/answer/6275345?hl=en#:~:text=Ad%20overlapping%20with%20app%20content,seen%20in%20the%20example%20below.
Hi @StrawberrySandwich this is different, this seems like you're reporting a bug, but I'm not sure if it's a bug.
Can you show a print screen of the current behavior and how you think it should be?
If you're talking about Superview and want your ads to display within it, this is not possible on our new version and it's neither recommended by Google: https://developers.google.com/admob/ios/x-ad-rendering
Banner ads must be placed in the "Safe Area" to avoid being obscured by rounded corners, sensor housing, and the Home indicator. On this page you'll find examples of how to add constraints to position a banner to the top or bottom of the Safe Area.
So I recommend that you attempt to showcase your user interface (UI) within the Safe Area of the device to mitigate this issue.