-
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
Utils.isEmpty or Telaria bidder bug? #5958
Comments
The first line of
What schain are you having trouble with in Telaria? I made a test page and see the chain being passed in the URL:
Winds up as: &schain=1.0,1!indirectseller.com,00001,,,, |
Hi @bretg , thanks for taking a look. Looking at this part of the code: Prebid.js/modules/telariaBidAdapter.js Line 148 in 678ffdf
I think that expected request should look like this: &schain=1.0,1!indirectseller.com,00001,1,,, Some publishers noticed and asked why hp value is not passed... |
Adding @telariaEng This seems odd because node.sid is a string (not an object) and it's showing up. |
Closing since the PR has been merged. |
Type of issue
Bug
Description
utils.isEmpty() function will always return true if integer is passed. isEmpty(1) returns true.
If that's an expected behavior, than there's a bug in telariaBidAdapter and the way it constructs schain string -- hp value 1 will always translate to empty string.
The text was updated successfully, but these errors were encountered: