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

Glimpse: update api, request shape, GDPR and CCPA, optimize and refactor #8260

Merged
merged 1 commit into from
Apr 8, 2022
Merged

Glimpse: update api, request shape, GDPR and CCPA, optimize and refactor #8260

merged 1 commit into from
Apr 8, 2022

Conversation

eddyu0
Copy link
Contributor

@eddyu0 eddyu0 commented Apr 5, 2022

Description

Addressing comment #8254 (comment) regarding the original PR #8237

We have made slight changes to include both GDPR cs and CCPA cs in the query when they both applies, and updated our endpoint accordingly

  • Handle the case when GDPR and CCPA both applies
  • Update Glimpse prebid api endpoint
  • Pass gvlid to storage manager for gdpr use cases
  • Include consent info in query params for better efficiency and privacy on the handling of user data
  • Update the request body shape to optimize the size of the request
  • update fpd shape and optimize fpd object
  • Add appendQueryParam and optimizeObject util functions
  • Remove unnecessary util functions
  • Refactor and rename of some util functions for improved simplicity
  • Rename variables for clarity
  • Update jsdoc comments
  • Reformat the files
  • Update test spec: add fpd unit test and remove unnecessary tests

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

contact email of the adapter’s maintainer

eddie.yu@glimpseprotocol.io

Related PR on prebid.github.io

prebid/prebid.github.io#3669

Other information

original PR: #8237

- Handle the case when GDPR and CCPA both applies
- Update Glimpse prebid api endpoint
- Pass gvlid to storage manager for gdpr use cases
- Include consent info in query params for better efficiency and privacy on the handling of user data
- Update the request body shape to optimize the size of the request
- update fpd shape and optimize fpd object
- Add appendQueryParam and optimizeObject util functions
- Remove unnecessary util functions
- Refactor and rename of some util functions for improved simplicity
- Rename variables for clarity
- Update jsdoc comments
- Reformat the files
- Update test spec: add fpd unit test and remove unnecessary tests
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

3 participants