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

Settings ortb2 first party data during beforeRequestBids #12165

Closed
EskelCz opened this issue Aug 22, 2024 · 2 comments
Closed

Settings ortb2 first party data during beforeRequestBids #12165

EskelCz opened this issue Aug 22, 2024 · 2 comments

Comments

@EskelCz
Copy link
Contributor

EskelCz commented Aug 22, 2024

Type of issue

Question

Description

Is pbjs.setConfig({ ortb2 }) supposed to work within the beforeRequestBids event handler?
I can see that the key is being rewritten at a later time, but the setConfig didn't work for me. So just to be sure if that is expected or not. Thanks.

Platform details

Prebid 8.49, MacOS

@dgirardi
Copy link
Collaborator

It is expected behavior; first party data from setConfig is "frozen" at the time of requestBids. Otherwise it wouldn't always be clear where it applies (there can be multiple auctions running; and each one may have passed it through some modules already).

@EskelCz
Copy link
Contributor Author

EskelCz commented Aug 22, 2024

Ok, thanks for the information

@EskelCz EskelCz closed this as completed Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants