Skip to content

DAS Bid Adapter: forward user.eids from ortb2 to OpenRTB request#90

Merged
skoklowski merged 2 commits into
dreamlab-masterfrom
feature/artemis
May 27, 2026
Merged

DAS Bid Adapter: forward user.eids from ortb2 to OpenRTB request#90
skoklowski merged 2 commits into
dreamlab-masterfrom
feature/artemis

Conversation

@skoklowski
Copy link
Copy Markdown

Type of change

  • Bugfix

  • Feature

  • New bidder adapter

  • Updated bidder adapter

  • Code style update (formatting, local variables)

  • Refactoring (no functional changes, no api changes)

  • Build related changes

  • CI related changes

  • Does this change affect user-facing APIs or examples documented on http://prebid.org?

  • Other

Description of change

Adds support for passing Extended IDs (user.eids) from Prebid's identity modules to the DAS bid server.

When the pubProvidedId module is configured with an eidsFunction that returns EIDs with source: 'onet.pl', the adapter now forwards those EIDs in the outgoing OpenRTB request under user.eids.

What changed:

  • Added buildUserEids(bidderRequest) — reads bidderRequest.ortb2.user.eids, filters entries with source === 'onet.pl', and returns them or null if absent
  • buildOpenRTBRequest now sets request.user.eids when EIDs are present
  • Added unit tests covering: EID present, EID absent, empty eids array, non-onet.pl source

Example EID structure passed through:

{
  "source": "onet.pl",
  "inserter": "onet.pl",
  "uids": [{
    "id": "<tracking-id>",
    "atype": 1,
    "ext": {
      "id_type": "tracking",
      "consent_required": true
    }
  }]
}

Other information

This is the Prebid-side counterpart of a change in the publisher's configuration. The adapter is now responsible for forwarding it — no changes to adapter parameters or bidder documentation required.

@skoklowski skoklowski merged commit 2cf9331 into dreamlab-master May 27, 2026
80 of 110 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.

2 participants