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

PubMatic Bid Adapter : add GPP support #10165

Merged
merged 14 commits into from
Jul 10, 2023
Merged

Conversation

pm-nitin-shirsat
Copy link
Contributor

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

@bretg
Copy link
Collaborator

bretg commented Jun 29, 2023

docs PR prebid/prebid.github.io#4691

// GPP Consent
if (gppConsent?.gppString && gppConsent?.applicableSections?.length) {
syncurl += '&gpp=' + encodeURIComponent(gppConsent.gppString);
syncurl += '&gpp_sid=' + encodeURIComponent(gppConsent?.applicableSections);
Copy link
Collaborator

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

Copy link
Contributor Author

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.

@pm-nitin-shirsat
Copy link
Contributor Author

@patmmccann - As you mentioned, gpp_sid I had encoded as a string, can you please review it? Thank you!

@ChrisHuie ChrisHuie changed the title GPP support in PubMatic bid adapter PubMatic Bid Adapter : add GPP support Jul 6, 2023
@pm-nitin-shirsat
Copy link
Contributor Author

@ChrisHuie or @patmmccann - If anything is pending from my side to merge this PR do let me know? Thanks!

@patmmccann patmmccann merged commit b38612f into prebid:master Jul 10, 2023
2 checks passed
@patmmccann
Copy link
Collaborator

@pm-nitin-shirsat please feel free to commit to 7.54.x as well if you desire

github-ishara-chan-tung pushed a commit to ebuzzing/Prebid.js that referenced this pull request Jul 12, 2023
* 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]>
santii7395 pushed a commit to themaven-net/Prebid.js that referenced this pull request Aug 28, 2023
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants