-
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
PubWise Bid Adapter: clean up and updates to adUnit parsing #9066
PubWise Bid Adapter: clean up and updates to adUnit parsing #9066
Conversation
modules/pubwiseBidAdapter.js
Outdated
pageURL: refererInfo?.page || window.location.href, | ||
refURL: refererInfo?.ref || window.document.referrer | ||
pageURL: (refererInfo && refererInfo.referer) ? refererInfo.referer : window.location.href, | ||
refURL: window.document.referrer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why aren't you using refererInfo. Ref here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@patmmccann not sure, I'll check, but looks like we should be
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
refererInfo.ref and refererInfo.page have a bunch of logic attempting to determine them as of Prebid 7 merge. The todo was suggesting the right side of the || are unnecessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been adjusted in the next update. It was driven by a misunderstanding of the test environment where those values are less predictable.
one more question, could you solve for #8573 here? We're attempting to enforce all bidders pass: auctionId as source.tid |
Sure thing |
…rom appropriate locations
…ubWise/Prebid.js into pubwise_bidder_update_20221003
@patmmccann updates have been made |
Update for PubWise Bid Adapter.