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

Flipp: Handle privacy for the user key #2900

Merged
merged 2 commits into from
Jan 23, 2024
Merged

Conversation

AntoxaAntoxic
Copy link
Collaborator

No description provided.

@AntoxaAntoxic AntoxaAntoxic self-assigned this Jan 11, 2024
@SerhiiNahornyi SerhiiNahornyi changed the title Handle privacy for the user key Flipp: Handle privacy for the user key Jan 18, 2024
Copy link
Collaborator

@CTMBNara CTMBNara left a comment

Choose a reason for hiding this comment

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

A few important changes that need to be made since the logic of this adapter is different from the logic of the corresponding adapter in GO:

  • bid.{id, crid}. currently null -> "null", but need to be null -> "0"
  • bid.h. currently if inline.consents not empty, but need to be inline.consents[0].data != null
  • CampaignRequestBody.keywords. We need to extract it from the Site, not from the User.
  • TCString.decode has a huge performance impact, don't parse the consent unless necessary.
  • check for Purpose 4, not for Purpose 3.

Also please change the order of the methods so that they are in the order they are called.

@SerhiiNahornyi SerhiiNahornyi merged commit 4ff80af into master Jan 23, 2024
2 checks passed
@SerhiiNahornyi SerhiiNahornyi deleted the flipp-bidder-user-key branch January 23, 2024 11:37
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.

Port PR from PBS-Go: Flipp: abide by privacy concerns when using flippExt userKey
3 participants