Skip to content

PubMatic Bid Adapter: Support Billing URL (burl) and implement onBidBillable handler#14313

Draft
pm-azhar-mulla wants to merge 3 commits intoprebid:masterfrom
pm-azhar-mulla:UOE-13481
Draft

PubMatic Bid Adapter: Support Billing URL (burl) and implement onBidBillable handler#14313
pm-azhar-mulla wants to merge 3 commits intoprebid:masterfrom
pm-azhar-mulla:UOE-13481

Conversation

@pm-azhar-mulla
Copy link
Contributor

Type of change

  • Feature

Description of change

This PR updates the PubMatic adapter to correctly handle billing URLs (burl) and billing events.

  • Capture burl from Bid Response
  • Triggers the billing pixel (burl) when a bid becomes billable.

Logic: The pixel is fired only if:

  • bid.burl exists.
  • bid.deferBilling is false (or falsy).

Macro Replacement: Ensures replaceAuctionPrice is called on the burl to substitute the winning CPM before firing the pixel.

Other information

@patmmccann
Copy link
Collaborator

@pm-azhar-mulla this has been in draft for a while, is that intentional?

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.

2 participants