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

Update pbsBidAdapter to pass analytics tags to client-side adapters #11391

Open
bretg opened this issue Apr 24, 2024 · 2 comments
Open

Update pbsBidAdapter to pass analytics tags to client-side adapters #11391

bretg opened this issue Apr 24, 2024 · 2 comments
Assignees
Labels

Comments

@bretg
Copy link
Collaborator

bretg commented Apr 24, 2024

Type of issue

Enhancement

Description

This is the Prebid.js side of prebid/prebid-server#3615 - see that issue for a full background.

In short, we're trying to get server-side details to our client-side analytics adapter and the PBS committee has approved a generic mechanism for doing so... it will return the ext.prebid.analyticstags object in the response. We would like for the pbsBidAdapter to look for this object and make it available to interested analytics adapters.

We should emit a new event for the server side analytics object being available, and only emit the event when the library is configured by the publisher to do so (the same configuration flag would enable ext.prebid.analytics.options.enableclientdetails: true in the pbs request) . Analytics adapters could then listen to that event.

@dgirardi
Copy link
Collaborator

dgirardi commented May 6, 2024

Does it make sense to re-use the SEAT_NON_BID event for this, possibly renaming it (PBS_ANALYTICS ? ) for prebid 9?

@bretg
Copy link
Collaborator Author

bretg commented May 6, 2024

Will let @robertrmartinez weigh in, but I suspect we're willing to follow Prebid's lead on the implementation.

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

No branches or pull requests

4 participants