Floxis Bid Adapter: add first-party fallback id at user.ext.floxisId#1
Closed
floxis-admin wants to merge 1 commit into
Closed
Floxis Bid Adapter: add first-party fallback id at user.ext.floxisId#1floxis-admin wants to merge 1 commit into
floxis-admin wants to merge 1 commit into
Conversation
Mints a first-party UUID in the publisher's page context (localStorage + cookie, ~30d) as an identity-of-last-resort for cookieless browsers where the third-party __fxId cookie is blocked. Additive via mergeDeep; never overwrites an existing user.ext.floxisId; degrades to a safe no-op when storage access is disallowed. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LroYxzKYQwfC21pPcUNhjn
Owner
Author
|
Superseded by the upstream PR to prebid/Prebid.js — this change belongs upstream, not fork-internal. See prebid#15295 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Mints a first-party UUID in the publisher's page context (localStorage + cookie, ~30 days) as an identity-of-last-resort for cookieless browsers where the third-party
__fxIdcookie is blocked. The id is placed atuser.ext.floxisIdin the OpenRTB request.mergeDeep; never overwrites an existinguser.ext.floxisIdfrom ortb2 FPDgetStorageManagerthrough Prebid'sstorageManager, respectingdeviceAccessconfig and GDPR purpose-1 consent under gvlid 1609pbjs.bidderSettings = { floxis: { storageAllowed: true } }— without it, no id is generated (safe no-op)processedCookieUserId (__fxId) .orElse(clientFloxisId)— unchanged behavior when the third-party cookie is presentChanges
modules/floxisBidAdapter.js—getStorageManager,getOrCreateFloxisId, andmergeDeep(req, {user:{ext:{floxisId}}})in the ortbConverter request hookmodules/floxisBidAdapter.md— First-Party Fallback Id section documenting storage scope, backend priority, consent, and publisher opt-intest/spec/modules/floxisBidAdapter_spec.js— 8 new cases: mint/reuse/localStorage-fallback/malformed-regenerate/no-storage/throw-guard/FPD-coexist/no-overwrite🤖 Generated with Claude Code