-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pbs bid adapter: video hb_size not returned properly #7020
Comments
@mike-chowla we discussed in issue review today -- we think the insertion of undefined is a bug that needs fixing (and it should just be left blank, maybe console log that size is undefined), but wanted to make sure that fix corresponds with the needs in video. |
@r-schweitzer - a test page would be good. Do you see the 'undefinedxundefined' in the PBS response JSON or is from PBJS? |
@bretg Seems to be related to PBS. I can recreate it on this page https://cafedelites.com/cheesy-scrambled-eggs-in-avocado/. The PBS response doesn't come back with hb_size at all |
@r-schweitzer - spent some time with this and can't make it happen. My thought is that PBS targeting variables aren't used by PBJS. They're only used by mobile apps and AMP. So I don't think PBS is the problem here. There might be some robustness that we can add to the pbsBidAdapter in
We should check something like: if typeof sizes is array, then |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@ChrisHuie the PBS adapter now sets
|
Closing this per pr #7885 ->
|
Type of issue
Bug
Description
There are sizes that returning on video as "undefinedxundefined" on server to server and potentially client side as well. Some bidders choose to send back the playerWidth and playerHeight since sizes are not always returned in the bidresponse. Seems that may Prebid should determine to either filter hb_size when a size is not returned or return the playerWidth and playerHeight as a standard.
Steps to reproduce
Reload page enough time with prebid server and you still see hb_size is not defined properly.
Expected results
I would expect either no hb_size or the size of the actual video.
Actual results
undefined x undefined size or 1x1. Sizes may vary depending on the the adapter or prebid server etc.
Platform details
All version of Prebid.
The text was updated successfully, but these errors were encountered: