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

Support TCF Policy Version 5 #3828

Open
bretg opened this issue Jul 29, 2024 · 3 comments
Open

Support TCF Policy Version 5 #3828

bretg opened this issue Jul 29, 2024 · 3 comments
Labels

Comments

@bretg
Copy link
Contributor

bretg commented Jul 29, 2024

Related to #2697, apparently the IAB now has a TCF Policy v5

Versions 62 and 63 of the GVL have this new version -- https://vendor-list.consensu.org/v3/vendor-list.json

gvlSpecificationVersion:3
vendorListVersion:63
tcfPolicyVersion:5

This is causing Prebid Server to reject consent strings as invalid. So this is pretty urgent. Heads up @bsardo and @SyntaxNode .

Here are the proposed updates:

  1. allow tcfPolicyVersion==5
  2. Update the algorithm for setting gvlSpecificationVersion:
    1. If tcfPolicyVersion<4, set gvlSpecificationVersion=2
    2. If tcfPolicyVersion is in (4,5), set gvlSpecificationVersion=3
    3. otherwise, the incoming TCF string is invalid. Blank it out (no consent), emit an error in debug output, and log an error to the error log at N% sampling. The error should contain the value of the received tcfPolicyVersion.
@bretg
Copy link
Contributor Author

bretg commented Jul 31, 2024

Discussed in committee:

  1. allow any tcfPolicyVersion, but emit alert.general metric if tcfPolicyVersion>5. At 1%, log a warning "unknown tcfPolicyVersion, defaulting to gvlSpecificationVersion=3"
  2. Update the algorithm for setting gvlSpecificationVersion:
    1. If tcfPolicyVersion<4, set gvlSpecificationVersion=2
    2. If tcfPolicyVersion >=4, set gvlSpecificationVersion=3

@bretg bretg moved this from Triage to Ready for Dev in Prebid Server Prioritization Jul 31, 2024
@bretg
Copy link
Contributor Author

bretg commented Jul 31, 2024

PBS-Java 3.8 partly address this.

(edit) PBS-Java 3.14 completes the generalization.

@bsardo
Copy link
Collaborator

bsardo commented Jul 31, 2024

PBS-Go currently sets gvlSpecificationVersion=3 when tcfPolicyVersion >= 4. PBS-Go will just need to add the metric if tcfPolicyVersion>5.

@bretg bretg added the PBS-Go label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Ready for Dev
Development

No branches or pull requests

2 participants