Open TechCor8 opened 5 years ago
I am also receiving the same error google team any explanation for this ? and I use adSize.Banner
@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 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
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.
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 ?
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.
I tested on a phone and a normal banner fails while using with normal 320x50 admob banner size saying invalid ad size
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.