-
Notifications
You must be signed in to change notification settings - Fork 2k
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
gdprEnforcement and prebid-server: User sync not allowed for null #6325
Comments
I agree there's a spurious warning here, but it's unclear to me that user syncs are broken. I set up a local test page and see the server-side sync happening.
Here's a test page. Git wouldn't let me attach an HTML file, so rename this with the html extension. |
@rsnigel we believe this is a warning but not an actual blocking of user sync? Is this what you are experiencing? If not could you please provide a test page. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing for lack of activity; it appears to be solved by upgrading prebid. Let us know if we should re-open. |
Type of issue
When using prebid-server together with gdprEnforcement, each server side bidder causes a warning that user sync is not allowed for null. Not checked in detail, but it looks like it completely breaks the user sync for server side bidders.
Message:
utils.js:257 Prebid WARNING: User sync not allowed for null
Description
Setup:
User sync for the client side bidders is working as expected.
Client side bidding
When looking at src/adapters/bidderFactory.js:201, the responses and consent information is passed to
registerSyncs
. This is used within the function to pass it to the gdprEnforcement module and it works as expected.Server side bidding
In modules/prebidServerBidAdapter/index.js:288,
registerSyncs
called with empty parameters. This is passed to the gdprEnforement module which is causing in modules/gdprEnforcement.js:219 to returnnull
for theconfig.getCurrentBidder()
and further more failing the validation and rejecting purpose1Rule, therefore rejecting the user sync.Steps to reproduce
When running this setup, you only need to have server side bidders enabled and the gdprEnforcement module will issue the warning "utils.js:257 Prebid WARNING: User sync not allowed for null" in gdprEnforcement:225.
Expected results
Server side bidding should be working with gdprEnforcement and no warning should be issued.
Actual results
Server side bidding user sync is not working due to bug in gdprEnforcement/ServerBidAdapter.
The text was updated successfully, but these errors were encountered: