Skip to content
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

User sync Issue introduced by PR 2948 #3477

Closed
matthieularere-msq opened this issue Feb 8, 2024 · 3 comments
Closed

User sync Issue introduced by PR 2948 #3477

matthieularere-msq opened this issue Feb 8, 2024 · 3 comments
Assignees

Comments

@matthieularere-msq
Copy link

I've just found an issue introduced by this PR : #2948 👍

redirectURL := macroRegexSyncerKey.ReplaceAllLiteralString(redirectTemplate, bidderName)

By using bidderName it makes that if the usersync key has a different value, then request sent to the bidder won't have any value for the User.BuyerUID openrtb field.
It happens that this is precisely the case for appnexus adapter which use adnxs as a key. It makes that user sync for this bidder no longer works.

@bsardo bsardo self-assigned this Feb 9, 2024
@matthieularere-msq matthieularere-msq changed the title Issue introduced by PR 2948 User sync Issue introduced by PR 2948 Feb 9, 2024
@SyntaxNode
Copy link
Contributor

PR #2948 accounts for the change from syncer key to bidder name by swapping the syncersByKey function for syncersByBidder. The syncer key is still used in the Prebid Server cookie, thus no change is necessary for the BuyerID lookup.

I tested this flow to ensure it's working as intended and could not find an issue. Are you experiencing a problem?

@SyntaxNode SyntaxNode assigned SyntaxNode and unassigned bsardo Feb 13, 2024
@SyntaxNode
Copy link
Contributor

@matthieularere-msq This functionality appears to be working correctly. Please confirm if you're seeing an issue in production.

@matthieularere-msq
Copy link
Author

I happened to have an issue with my setuid endpoint, I guess it was caused by a merge issue with my fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants