Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Unity Banner Ads height issues

Discussion in 'Unity Ads & User Acquisition' started by bbxlegend, Sep 26, 2022.

  1. bbxlegend

    bbxlegend

    Joined:
    Aug 5, 2021
    Posts:
    4
    How should we use Unity Banner ads correctly?

    The docs here:
    https://docs.unity.com/ads/ImplementingBannerAdsUnity.html
    say the height is either 50 pixels or 90 pixels.

    So there are two issues:

    1) How do we accurately determine if it is 50 or 90. I guess we can check if its a tablet on iOS but is that 100% reliable? And what about Android?

    2) 50 pixels on a high res iPhone (eg iPhone 12 Max Pro) is way too small, so I can't believe that's correct. Maybe it's 50 "points" in iPhone terminology. And what about Android?

    Not knowing the height really makes Unity Banner ads impossible to add reliably given the number of different devices out there. Is there a plan to add an API to get the height and an estimate of when? Otherwise I'll have to look for another ad supplier.
     
    Last edited: Sep 30, 2022