Skip to content

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

Merged
msm0504 merged 1 commit intoprebid:masterfrom
glimpse-protocol:master
Apr 8, 2022
Merged

Glimpse: update api, request shape, GDPR and CCPA, optimize and refactor#8260
msm0504 merged 1 commit intoprebid:masterfrom
glimpse-protocol:master

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.

3 participants

Comments