Describe the bug
If Prebid creative loses and some other creative served AdViewUtils.findPrebidCreativeSize would fail to find hb_size:<size> in the creative and would log a warning:
errorCode:240 errorDescription:The HTML doesn't contain a size object
However this is not an error per se - the creative may or may not contain hb_size. If it does not contain a size object - it simply means it is not a Prebid Universal Creative. Thus it should be at max an info level message, not a warning level and it should read: The HTML does not appear to be a Prebid Universal Creative, as it does not contain an hb_size snippet.
To Reproduce
Steps to reproduce the behavior:
Load and render any banner creative (a test ad in Google Mobile Ads SDK would do) that would be not a universal creative
Call AdViewUtils.findPrebidCreativeSize on the bannerView
Observe a warning message logged
Expected behavior
The info level message as suggested above is logged.
Screenshots
Smartphone (please complete the following information):
Any Android.
Describe the bug If Prebid creative loses and some other creative served AdViewUtils.findPrebidCreativeSize would fail to find
hb_size:<size>
in the creative and would log a warning:The logging happens here.
However this is not an error per se - the creative may or may not contain
hb_size
. If it does not contain a size object - it simply means it is not a Prebid Universal Creative. Thus it should be at max an info level message, not a warning level and it should read:The HTML does not appear to be a Prebid Universal Creative, as it does not contain an hb_size snippet.
To Reproduce Steps to reproduce the behavior:
Expected behavior The info level message as suggested above is logged.
Screenshots
Smartphone (please complete the following information): Any Android.