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

PBID-39: Fill out userIdAsEids object with UID extended data (IBA and CCPA optout status) #10

Merged
merged 8 commits into from
Jun 9, 2020

Conversation

icflournoy
Copy link

@icflournoy icflournoy commented May 15, 2020

Type of change

  • Feature

Description of change

This change enables adapters that consume the userIdAsEids object to access Parrable's optout states (CCPA and IBA) provided as part of the ORTB UIDs extended data field.

@icflournoy icflournoy changed the title PBID-39: Return entire parrableId object as userId data, rename parrableid to parrableId PBID-39: Fill our userIdAsEids object with UID extended data (IBA and CCPA optout status) May 15, 2020
@icflournoy icflournoy changed the title PBID-39: Fill our userIdAsEids object with UID extended data (IBA and CCPA optout status) PBID-39: Fill out userIdAsEids object with UID extended data (IBA and CCPA optout status) May 15, 2020
@icflournoy icflournoy marked this pull request as ready for review May 15, 2020 20:27
@icflournoy icflournoy self-assigned this May 15, 2020
@icflournoy
Copy link
Author

@victorigualada and @ralejandre I will setup some time next week so we can screenshare and walk through this PR and go over the Prebid development process, and the broader ParrableIdSystem.

Victor I recommend taking a look at this pending work I submitted upstream that makes some significant changes to our ID system within Prebid: prebid#5219 that will make more sense than this PR right now.

…been suppressed

The userId/eids module will not consider our ID system for inclusion in the EIDs object if our ID value is not a string.
Unfortunately when we write our cookie without an EID (in the case where CCPA optout is true) then the deserialized EID value is undefined, to save space in the cookie.

So this is a hack that will return an empty string when Prebid is building the EIDs object so that we can still pass our optout status to those that require it to understand why our ID may be missing.
Copy link

@ralejandre ralejandre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM, the screen-shares help a lot.

modules/openxBidAdapter.js Outdated Show resolved Hide resolved
test/spec/modules/parrableIdSystem_spec.js Outdated Show resolved Hide resolved
@icflournoy icflournoy merged commit 3b8842b into parrableIdSystem/base Jun 9, 2020
@icflournoy icflournoy deleted the parrableIdSystem/PBID-39 branch June 9, 2020 12:50
icflournoy pushed a commit that referenced this pull request Jul 14, 2020
* Add native support

* Add response testing

* DRY test

* Change required from bool to int

* Set mediaType

* Fixes objects

* Fixes object access

* Remove ad property, only set it for banner

* Update tests

* Moving hardcoding values to constants

* Update docs with native information

* Revert "Add native support"

* Getting rid of CCPA adapter validation (#9)

* fix linter errors (#10)

Co-authored-by: Ricardo Azpeitia Pimentel <ricardo.azpeitia@nextroll.com>
Co-authored-by: Abimael Martinez <abijr@users.noreply.github.com>
icflournoy pushed a commit that referenced this pull request Dec 18, 2020
* updates for first cut at bidder

* fix up height and width

* adds test spec

* remove hello_world from commit'

* updates to support native and fix issues found in initial review

* fix handling of new node in response for native vs banner

* updates to handle OpenRTB base

* updates to support RTB style calls

* updates to get back to parity

* updates to testing

* updates to test media type handling

* updates to handling testing

* updates to testing

* remove report file

* updates to fix up unit/spec tests

* updates to fix up unit/spec tests

* updates to fix up unit/spec tests

* updates to handling of gdpr

* Delete hello_world.html

* remove hellow-world-sample

* Pubwise 481 (#7)

* updates to support PubWise bid adapter, test cases and documentation

* updates to fix param tes

* Pubwise 481 (#8)

* fixes for unit testing

* remove unused variables and params

* Updates to Remove Unused Vars (#9)

* remove unused vars

* updates to fix up used and unsused params

* updates to fix up used and unsused params (#10)

* updates to fix up used and unsused params

* updates to remove usersync and add gvlid

* Pubwise 481 (#11)

* updates to remove usersync, add https, and add gvlid

* Update pubwiseBidAdapter.js

* updates to remove json, to remove options hit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants