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

Wrong example for TC String Format(Canada) #134

Open
barbosamarco4 opened this issue Jan 9, 2025 · 5 comments
Open

Wrong example for TC String Format(Canada) #134

barbosamarco4 opened this issue Jan 9, 2025 · 5 comments

Comments

@barbosamarco4
Copy link

https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform/blame/95afd796ab2cf32bd99b4b6ae1748702fc051c6e/Sections/Canada/TCF%20EU%20TCF%20CA%20Comparison.md#L1347
Because the Version in the Core String should always be 1 for Canada strings, these example strings should start with a 'B' instead of 'C'

@HeinzBaumann
Copy link
Collaborator

The version encoding in the string reflects the TCF version used. Canada is using TCF version 2. Hence the string is correct. The policy version for Canada is version 2.

@barbosamarco4
Copy link
Author

barbosamarco4 commented Jan 15, 2025

I'm talking about the "Version" in the Core String, not the policy version. In the documentation, just below the line where I left my comment it is stated that the version for Canada is 1.
image
This value is represented by the first letter in the string, hence me saying that it should be a "B" instead of a "C".
Besides this, when creating TCF Canada strings in the IAB Encoder/Decoder the strings always start with a "B", and the Version is locked to 1.

@HeinzBaumann
Copy link
Collaborator

HeinzBaumann commented Jan 16, 2025

This is wrong. The TCF string that Canada is using is TCF format 2 not 1. This is a bug in GPP. Canada never used format version 1 for that matter. @lamrowena please take note!

@barbosamarco4
Copy link
Author

This is getting really confusing. My understanding follows what you just stated, but then the documentation contradicts that. Just to make things more clear for me: were you involved with IAB on these standards?

@HeinzBaumann
Copy link
Collaborator

Yes, I was the initial author of the TCF v1. Canada joined the TCF when TCF format was at version 2. GPP embeds the Canadian TCF string. Hence the format version should be 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants