Repository navigation
Cadent, Nexverse Bid Adapters: read IDs from EIDs/FPD instead of the never-set bidderRequest.userId; Pangle: drop the dead path #16209
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
Changes from 1 commit
d81957d
dbe56a5
e285c93
65a7219
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,10 +57,10 @@ function createRequest(bidRequests, bidderRequest, mediaType) { | |
| }); | ||
| const devicetype = spec.getDeviceType(navigator.userAgent); | ||
| deepSetValue(data, 'device.devicetype', devicetype); | ||
| if (bidderRequest.userId && typeof bidderRequest.userId === 'object') { | ||
| // add the pangle cookie alongside user IDs (Prebid 10+ provides them only as EIDs) | ||
| const _eids = data.user?.ext?.eids ?? []; | ||
| if (_eids.length > 0) { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
For publishers that allow Pangle cookie storage and include AGENTS.md reference: AGENTS.md:L129-L129 Useful? React with 👍 / 👎.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Agreed. Turning this path on would start cookie reads and writes that aren't covered by |
||
| const pangleId = getPangleCookieId(); | ||
| // add pangle cookie | ||
| const _eids = data.user?.ext?.eids ?? []; | ||
| deepSetValue(data, 'user.ext.eids', [ | ||
| ..._eids, | ||
| { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When EIDs are present and
bidderSettings.pangle.storageAllowedis unset or explicitlyfalse, this newly reachable path still reads and writes_pangle_idunless another activity control blocks it. The existing storage manager usesMODULE_TYPE_RTD, whilestorageAllowedRuleinsrc/storageManager.ts:344-355checks permission only for bidder components. I reproduced the cookie write withstorageAllowed: false; the parent revision does not write it. Construct the manager withbidderCode: BIDDER_CODEbefore enabling this path, and cover the storage opt-out in tests.Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Turning this path on would start cookie reads and writes that aren't covered by
storageAllowed(the storage manager is registered as an RTD module) and that have no disclosure. dbe56a5 doesn't enable it. It removes the dead block, which was gated onbidderRequest.userId, along with the_pangle_idcookie helpers, so pangle's payload and storage behavior stay as they are on master. If the adapter maintainers want this ID back, they can add it with a bidder storage manager and a disclosure.