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

MergeConfig fix breaks dspx bid adapter #9876

Closed
muuki88 opened this issue Apr 29, 2023 · 8 comments · Fixed by #9880
Closed

MergeConfig fix breaks dspx bid adapter #9876

muuki88 opened this issue Apr 29, 2023 · 8 comments · Fixed by #9880
Labels

Comments

@muuki88
Copy link
Collaborator

muuki88 commented Apr 29, 2023

Type of issue

bug

Description

The dspx bid adapter is not working in prebid 7.46.0 . I assume the offending line is

ttl: config.getConfig('_bidderTimeout'),

because the error we see is this

image

which I tracked down to this line

const COMMON_BID_RESPONSE_KEYS = ['cpm', 'ttl', 'creativeId', 'netRevenue', 'currency'];

and there were no changes on adapter or server response. The only this is the access to the prebid config.

Steps to reproduce

  1. use prebid 7.46.0
  2. use dspx bid adapter

Test page

Welp.. we fixed it in production by rolling back.

Expected results

dspx works

Actual results

Platform details

  • prebid 7.46.0

Other information

@patmmccann
Copy link
Collaborator

Bad idea to pull ttl for a bid out of user config.

@muuki88
Copy link
Collaborator Author

muuki88 commented Apr 29, 2023

Yeah. It doesn't make any sense. I'll open a PR next week to set this to a static value.

Anything recommend for bidders that don't provide those server side?

@patmmccann
Copy link
Collaborator

300

@patmmccann
Copy link
Collaborator

300 is pretty common I'd say, but maybe set it to 60 or something and let them raise it?

@muuki88
Copy link
Collaborator Author

muuki88 commented Apr 29, 2023

We have a good connection to them and make them aware of the issue. 👍

@dgirardi
Copy link
Collaborator

dgirardi commented May 1, 2023

That pattern is wrong in two different ways - it should be bidderTimeout and not _bidderTimeout, but also, bidder timeout has nothing to do with TTL.
Of course, it was copy-pasted into a bunch of other adapters, it's not limited to dspx. @patmmccann - should we fix them all to some arbitrary value like 300?

@patmmccann
Copy link
Collaborator

Yes, let's choose 60 and let them increase if they desire.

@patmmccann patmmccann moved this from Triage to Ready for Dev in Prebid.js Tactical Issues table May 1, 2023
@muuki88
Copy link
Collaborator Author

muuki88 commented May 1, 2023

Sounds good to me ❤️👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging a pull request may close this issue.

3 participants