googleads-mobile-android-mediation icon indicating copy to clipboard operation
googleads-mobile-android-mediation copied to clipboard

Unity Banner Ad Requests Fail

Open TechCor8 opened this issue 5 years ago • 7 comments

Requesting Unity banners always fails.

When requesting AdSize.SmartBanner, the response is: Invalid ad size requested: 540x90_as

When requesting AdSize.Banner, the response is: The banner adsize loaded does not match the requested size

Normal AdMob ads work fine.

TechCor8 avatar Jun 18 '19 04:06 TechCor8

I am also receiving the same error google team any explanation for this ? and I use adSize.Banner

Screen Shot 2019-06-18 at 12 47 49 AM

Izzyjm avatar Jun 18 '19 05:06 Izzyjm

@TechCor8 Unity doesn't support SMART_BANNER. Unity only supports 2 sizes 320x50 on mobile devices and 728x90 on tablets. I think you might be requesting other sizes, so you were seeing this error 'The banner adsize loaded does not match the requested size'. I was able to successfully render AdSize.Banner on my end. Can you provide any sample app to debug ?

spilaka avatar Jul 17 '19 19:07 spilaka

@spilaka I was only requesting the normal 320x50 banner but I can send a sample Project later that reproduces the bug where should it be sent to ? Maybe it had it was because i was requesting 320x50 on a Samsung tablet , but i don’t think so because you can only set 1 ad size and there is no way to distinguish if it’s on a phone or tablet

Izzyjm avatar Jul 18 '19 00:07 Izzyjm

SMART_BANNERS stopped working with Facebook mediation as well. Even though Facebook and Unity don't support SMART_BANNERS directly, there was a function that successfully matched SMART_BANNERS to the closest banner object size on Facebook, Unity, etc. For some reason, this has been broken for a while now. I hope it gets fixed since SMART_BANNERS are great and most importantly, they might have higher eCPMs.

dfretes avatar Jul 18 '19 01:07 dfretes

so just to clarify, we have to choose between 320x50, or 728x90 and then which ever one we choose will either only work on phones(320x50), or tablets (728x90) ? this doesn't seem like a good solution, 320x50 should also be able to work with tablets, not just fail... Unity ads with admob mediation doesn't support smart banners, so we have to use normal admob banner(320x50) and all requests will fail on tablet ?

Izzyjm avatar Jul 19 '19 00:07 Izzyjm

It's looking like there is a bug where smart banner is always failing and we'll investigate that (similar problem happened with FB which we're in the process of fixing). However, the very specific case of the device requesting 540x90, that will still no fill on UnityAds.

One thing we're trying to standardize on is the ad should be 50% height and 70% width of the requested size. 320x50 doesn't meet the 70% width requirement. This is kind of unfortunate for this particular device. 468x60 is an IAB format but Unity doesn't support it. Our thought is that 320x50 is too small for a 540x90 slot and users wouldn't expect ads that small in that slot -- you're typically better off with a more appropriately sized ad from another network.

ericleich avatar Jul 19 '19 01:07 ericleich

I tested on a phone and a normal banner fails while using with normal 320x50 admob banner size saying invalid ad size

Izzyjm avatar Aug 01 '19 20:08 Izzyjm