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

parrableIdSystem: Add an optional timezone and timezone offset allow/block filter #5569

Merged
merged 49 commits into from
Sep 3, 2020

Conversation

icflournoy
Copy link
Contributor

Type of change

  • Feature

Description of change

This feature allows a publisher to configure lists of allowed timezones or timezone offsets, and/or lists of blocked timezones or timezone offsets where the ParrableIdSystem will run or not run, respectively. The use of the timezone filter is optional and efficiently handles the case where no timezone filter is configured.

Documentation PR: prebid/prebid.github.io#2184

icflournoy and others added 30 commits April 27, 2020 21:13
Add unit coverage for parrableIdSystem getId callback
PBID-14: Support US Privacy Framework
Migrating from legacy _parrable_eid cookie. The new cookie contains ibaOptout and ccpaOptout status fields
PBID-11: Integrate new compound cookie
@harpere harpere requested a review from msm0504 August 5, 2020 21:03
@harpere harpere added needs review needs 2nd review Core module updates require two approvals from the core team labels Aug 5, 2020
@harpere harpere requested a review from jlukas79 August 5, 2020 21:06
Copy link
Contributor

@msm0504 msm0504 left a comment

Choose a reason for hiding this comment

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

LGTM

@stale
Copy link

stale bot commented Sep 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 2, 2020
@msm0504 msm0504 removed the stale label Sep 2, 2020
@msm0504 msm0504 added LGTM and removed needs 2nd review Core module updates require two approvals from the core team labels Sep 3, 2020
@msm0504 msm0504 merged commit deb7d5b into prebid:master Sep 3, 2020
BrightMountainMediaInc pushed a commit to BrightMountainMediaInc/Prebid.js that referenced this pull request Sep 14, 2020
…block filter (prebid#5569)

* Add unit coverage for parrableIdSystem getId callback

* PBID-14: Pass uspString to Parrable as us_privacy query parameter

* PBID-14: Simplify parrableIdSystem us_privacy test

* PBID-14: Only send us_privacy to Parrable when a value exists

* PBID-11: Read new Parrable compound cookie _parrable_id

Migrating from legacy _parrable_eid cookie. The new cookie contains ibaOptout and ccpaOptout status fields

* Remove path check from parrableIdSystem url test

* PBID-11: Integrate Parrable compound cookie, consolidating old cookies

* PBID-11: Update parrableIdSystem requestBids hook test to support compound cookie value

* PBID-11: Small refactor to parrableIdSystem spec to support compound cookie

* PBID-11: Handle legacy ibaOptout as truthy value when migrating to compound cookie

* PBID-11: Add parrableIdSystem spec tests covering migration of legacy cookies

* PBID-11: Remove storage documentation from test pages and userId module docs

* PBID-11: Remove SUBMODULES_THAT_ALWAYS_REFRESH_ID feature from userId system

* PBID-11: Use better serialize implementation for Parrable compound cookie

* PBID-11: Update parrableIdSystem interface documentation

* Add missing extension to mock xhr import

* PBID-11: Try to access eid property only when parrableId object exists

* PBID-11: Construct parrableId from legacy cookies in same manner as compound cookie

* Use hardcoded expiration date for legacy cookies

* PBID-39: Return full parrableId object in decode method

* PBID-39: Update all adapters to use parrableId.eid for userId value

* PBID-39: Update config for ORTB EIDs to extract parrableId.eid as User UID value

* PBID-39: Pass Parrable IBA and CCPA optout status into ORTB EIDs list through UID extensions

* PBID-39: Pass a true CCPA optout status to adapters when the EID has 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.

* parrableIdSystem: Relocate new unit test from upstream

* PBID-39: Fallback to cookie values when backend response is missing components

Also handle another missed callback scenario if the response object parses to nothing

* PBID-39: Avoid breaking openx bid adapter when renaming our id system

* PBID-39: Use array find

* Use supported array find method in parrableIdSystem_spec

* Restore backwards-compatible parrableId passing to OpenxBidAdapter

* PBID-25: Add time zone and offset filtering of impressions to parrableIdSystem

* PBID-25: Better group existing getId tests

* PBID-25: Add unit tests covering time zone and offset filtering functionality

* PBID-25: Remove parrable .only test scope
BrightMountainMediaInc pushed a commit to BrightMountainMediaInc/Prebid.js that referenced this pull request Sep 14, 2020
@icflournoy icflournoy deleted the parrableIdSystem/PBID-25 branch September 24, 2020 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants