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

Core & PBS Adapter: support eventtrackers, and normalize burl / ext.prebid.events.win into it #12711

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

dgirardi
Copy link
Collaborator

@dgirardi dgirardi commented Jan 30, 2025

Type of change

  • Feature

Description of change

The PBS Adapter had special handling for two tracking URLs:

  • bid.burl, which was fired when a bid is deemed billable;
  • bid.ext.prebid.events.win, fired when a bid is rendered.

This allows bid responses (from any adapter) to provide an eventtrackers array as described in #12216:

  • ortbConverter now moves imp.ext.eventtrackers into bidResponse.eventtrackers;
  • the PBS extensions for ortbConverter translate burl into an impression pixel and events.win into a "win" pixel (custom event 500), appending them to eventtrackers;
  • core fires win pixels on render, and impression pixels on billing;
  • markWinningBidAsUsed's analytics flag is renamed to events, and triggers both when appropriate.

Other information

Closes #12698 (comment)
Closes #12216

@dgirardi dgirardi changed the title Core & PBS Adapter: support eventtrackers, and normalize burl / ext.prebid.events.win into it Core & PBS Adapter: support eventtrackers, and normalize burl / ext.prebid.events.win into it Jan 30, 2025
Copy link

Tread carefully! This PR adds 1 linter warning (possibly disabled through directives):

  • src/eventTrackers.js (+1 warning)

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