I’m testing my game on a iPhone device (iPhone 8) and I’m getting an oversized banner. Since I cannot control the banner size, only the placement, I don’t know how to fix it. Also, the banner placement is the default one (bottom center) but it shows on the top left corner. See attachment.
Can anyone help? I’m out of ideas…
1 Like
@rodrigo_lima
Which version of the Ads SDK are you using? Can you share the script you are using to show banners?
1 Like
Encountered the same issue as well only after updating from Monetization SDK 3.2.0 to 3.3.0
Script was implemented like described here Banner ads for Unity developers | Advertisement | 3.3.1
void Start()
{
Monetization.Initialize(GAME_ID_IOS, JBSConstants.ADS_TEST_MODE_ON);
}
public void showBanner()
{
if (!hasPurchasedAds && !Advertisement.Banner.isLoaded)
{
StartCoroutine(ShowBannerWhenReady());
}
}
IEnumerator ShowBannerWhenReady()
{
while (!Advertisement.IsReady (AD_BANNER)) {
yield return new WaitForSeconds (0.5f);
}
Advertisement.Banner.SetPosition(BannerPosition.TOP_CENTER);
Advertisement.Banner.Show(AD_BANNER);
}
Using Unity 2019.2.15f1, reproducing on IOS 13(.3) across multiple devices (Iphone/Ipad)
Looking fwd for your feedback
@rodrigo_lima , @Jbs_GameZone
I apologize for not replying earlier, but we were able to find the issue with the banner size bug. It should be fixed in a future update to the SDK. Thanks for reporting this bug.
1 Like