Skip to content
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

Rubicon Analytics Adapter: Fix source format issue #5989

Merged
merged 2 commits into from
Nov 18, 2020
Merged

Conversation

robertrmartinez
Copy link
Collaborator

Type of change

  • Bugfix

Description of change

The adapter saves all bidder names as lowercase.

So when it compared the bidders array in s2sConfig with the saved bidder code, it would fail if the server bidder code was not lowercase. (pgRubicon compared with pgrubicon).

This addresses this by using .some and doing full lowercase compare.

But also adds in better logic, because since a long time ago the src param is on every single bidRequest, so instead of all this extra logic to figure it out (which we will leave in for now) we can just directly set source on initial bid request event.

@harpere harpere merged commit efbc9d3 into master Nov 18, 2020
@harpere harpere deleted the rubiBidSrc branch November 18, 2020 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants