Skip to content

SmartX Bid Adapter: forward first party data, user IDs, IPD, DSA and ad unit video params - #16196

Open
schubert-sc wants to merge 8 commits into
prebid:masterfrom
smartclip:smartx/ortb-fpd-support
Open

schubert-sc wants to merge 8 commits into
prebid:masterfrom
smartclip:smartx/ortb-fpd-support

Conversation

@schubert-sc

Copy link
Copy Markdown
Contributor

Type of change

  • Updated bidder adapter

Description of change

The smartx adapter now passes on what publishers already configure in Prebid: site and app content, user IDs, the inventory partner domain and DSA. It also reads the video params from mediaTypes.video.

Requests stay OpenRTB 2.5 (x-openrtb-version: 2.5), which is a choice on the smartclip side. The inventory partner domain is read from its 2.6 location (site.inventorypartnerdomain) and its 2.5 one (site.ext.inventorypartnerdomain, same for app); the 2.6 value wins and goes out under ext. 2.6 fields inside ortb2.app or content pass through unchanged. User IDs from user.eids and user.ext.eids both end up in user.ext.eids, since core merges them before the adapter runs.

What changes for existing integrations:

  • Video fields already set on mediaTypes.video (mimes, protocols, maxduration and so on) are now sent instead of the adapter defaults. Bidder params still win over the ad unit, so a publisher who sets neither sees no change. plcmt, skip, playbackmethod and the other optional fields go out only when set, which includes the plcmt core fills in for outstream and muted playback.
  • A 0 in the params or on the ad unit is now sent as 0 (pos: 0, for example). Before, it fell back to the default.
  • When ortb2.app is set, the request carries an app object built from it instead of site, with id from siteId and publisher.id from publisherId. The cat and domain params apply to site requests only.
  • A flat playerSize ([640, 360]) now gives the right width and height in the request and the outstream renderer. Before, both came out undefined.
  • regs.ext.dsa is forwarded as is, and ext.dsa on a bid comes back as meta.dsa for the dsaControl module.

Other information

Docs: prebid/prebid.github.io#6966

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T14:51:58.078617Z c439193 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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

Copy link
Copy Markdown

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: c43919327f

ℹ️ 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 thread modules/smartxBidAdapter.js Resolved
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