Skip to content

Bridgewell Bid Adapter: expand request data#14320

Merged
jsnellbaker merged 7 commits intoprebid:masterfrom
bridgewell:feature/bridgewellBidAdapter_expand_request_data
Jan 22, 2026
Merged

Bridgewell Bid Adapter: expand request data#14320
jsnellbaker merged 7 commits intoprebid:masterfrom
bridgewell:feature/bridgewellBidAdapter_expand_request_data

Conversation

@donnychang
Copy link
Contributor

Type of change

  • Updated bidder adapter

Description of change

New Parameters Added to Bid Requests:

  1. Core Auction Identifiers

    • auctionId
    • transactionId
    • adUnitId
    • bidderRequestId
    • src
  2. Prebid Passthrough Data (ortb2Imp.ext.prebid.passthrough)

    • bucket
    • client
    • gamAdCode
    • gamLoc
    • colo
    • device
    • lang
    • pt
    • region
    • site
    • ver
  3. Ad Server & Placement Data (ortb2Imp.ext.data)

    • data.adserver.name
    • data.adserver.adslot
    • data.pbadslot
    • gpid
  4. Banner Position

    • banner.pos
  5. Request Metadata

    • sizes
    • bidderRequestsCount
    • bidderWinsCount
    • auctionsCount
    • bidRequestsCount
    • deferBilling
  6. Performance Metrics (metrics)

    • requestBids.usp
    • requestBids.gpp
    • requestBids.gdpr
    • requestBids.priceFloors
    • requestBids.rtd
    • requestBids.validate
    • requestBids.makeRequests
    • adapter.client.validate
    • adapters.client.bridgewell.validate
  7. OpenRTB Site & Device Info (ortb2)

    • Regulations: regs.gpp_sid, regs.gpp, regs.ext.gdpr, regs.ext.us_privacy
    • Site: site.domain, site.publisher.domain, site.page, site.content.language
    • Device: device.w, device.h, device.dnt, device.ua, device.language, device.ext.vpw, device.ext.vph, device.sua
  8. Price Floors

    • floor
    • currency

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a4d64fae4c

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines 105 to 107
const floorInfo = bid.getFloor?.() || {};
adUnit.floor = floorInfo.floor;
adUnit.currency = floorInfo.currency;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Pass size/mediaType to getFloor for accurate floors

Calling bid.getFloor() with no parameters leaves mediaType/size as '*' unless the ad unit has exactly one media type and one size, because the floors helper only infers context in those narrow cases. For multi-size or multi-type ad units this will pick a wildcard floor instead of a size‑specific rule, so the adapter can send an incorrect floor (often lower) in those auctions. Consider passing {mediaType, size, currency} from the bid request to avoid missing targeted floor rules.

Useful? React with 👍 / 👎.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. Now passing mediaType and size parameters to getFloor()

@donnychang donnychang changed the title Feature/bridgewell bid adapter expand request data Bridgewell Bid Adapter: expand request data Jan 9, 2026
@jsnellbaker jsnellbaker merged commit f2c15cb into prebid:master Jan 22, 2026
96 of 102 checks passed
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.

3 participants