Why Admob Banner shows relative to phone screen instead of game window?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Maz90

Hello.
I’m using the Admob plugin from Shin_nil. when i set the banner to show on bottom, it shows relative to phone screen, not to game window. because of scaling and keeping the aspect ratio, there are black bars on top and bottom of the screen. the banners show up in the black area blocking virtual controls on bottom (which violates Google policies because it leads to accidental clicks) and hiding the top bar where the time and notch are.

How can i make them show on top or bottom relative to game window instead of phone screen?

Thank you.