-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
PubMatic Bid Adapter : add GPP support #10165
Conversation
Sync up prebid master to fork master
…bid-master # Conflicts: # modules/pubmaticBidAdapter.js # test/spec/modules/pubmaticBidAdapter_spec.js
Sync with prebid master
Merge pull request #5 from pm-nitin-shirsat/master
docs PR prebid/prebid.github.io#4691 |
modules/pubmaticBidAdapter.js
Outdated
// GPP Consent | ||
if (gppConsent?.gppString && gppConsent?.applicableSections?.length) { | ||
syncurl += '&gpp=' + encodeURIComponent(gppConsent.gppString); | ||
syncurl += '&gpp_sid=' + encodeURIComponent(gppConsent?.applicableSections); |
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.
in user syncs I think you are supposed to encode as a string, not an array
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.
Thank you, Yes, it should encode as string, fixed it.
@patmmccann - As you mentioned, gpp_sid I had encoded as a string, can you please review it? Thank you! |
@ChrisHuie or @patmmccann - If anything is pending from my side to merge this PR do let me know? Thanks! |
@pm-nitin-shirsat please feel free to commit to 7.54.x as well if you desire |
* Implement functionality for deal priority * Update test cases * kick off test manually * Added support of GPP to PubMatic adapter * gpp_sid in user syncs supposed to encode as a string, not an array * Remove extra space * Remove trailing spaces --------- Co-authored-by: Chris Huie <[email protected]>
* Implement functionality for deal priority * Update test cases * kick off test manually * Added support of GPP to PubMatic adapter * gpp_sid in user syncs supposed to encode as a string, not an array * Remove extra space * Remove trailing spaces --------- Co-authored-by: Chris Huie <[email protected]>
Type of change
Bugfix
Feature
New 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
GPP support in PubMatic bid adapter
Other information