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

Other regulation GVL support #51

Open
sevriugin opened this issue May 6, 2024 · 7 comments
Open

Other regulation GVL support #51

sevriugin opened this issue May 6, 2024 · 7 comments
Labels
question Further information is requested

Comments

@sevriugin
Copy link

Are we going to support GVLs for different regulations in the library? For example IAB Canada GVL for tcfca ?

@HeinzBaumann
Copy link
Collaborator

Yes, Canada has a separate GVL from Europe.
EU: https://vendor-list.consensu.org/v3/vendor-list.json
Canada: https://vendor-list.consensu.org/v2/ca/vendor-list.json

@HeinzBaumann HeinzBaumann added the question Further information is requested label May 6, 2024
@sevriugin
Copy link
Author

@HeinzBaumann thanks, so we need to have update GPP lib logic to make it multi-GVL ready. Maybe, I am not sure, but API need to be updated also as now these two guys (see the snippet) looks very IAB TCF EU GVL specific:

getGvlFromVendorList(vendorList: VendorList): GVL
async getGvlFromUrl(gvlUrlConfig: GVLUrlConfig): Promise<GVL>

@sevriugin
Copy link
Author

Another question regarding US regulations and vendors. No vendors related signals in US segments (sub-strings) are present, is it correct? The vendors are related ONLY to tcfeuv2 and tcfcav1, right?

@HeinzBaumann
Copy link
Collaborator

As far as I know, yes, so far vendor signals only apply to tcfeuv2 and tcfcav1.

@HeinzBaumann
Copy link
Collaborator

@HeinzBaumann thanks, so we need to have update GPP lib logic to make it multi-GVL ready. Maybe, I am not sure, but API need to be updated also as now these two guys (see the snippet) looks very IAB TCF EU GVL specific:

getGvlFromVendorList(vendorList: VendorList): GVL
async getGvlFromUrl(gvlUrlConfig: GVLUrlConfig): Promise<GVL>

The format and mechanism to retrieve the GVL is the same between EU and Canada. But in a GPP it require to cache both at the same time. So I would think spoec and library will need to account for this.

@sevriugin
Copy link
Author

Yes, we could update GVL type to make it more genetic and include Canada specific fields like impConsPurposes, but it will create a mess that it's difficult to manage and support.

For example now GPP GVL still has TCF v2 properties like policyUrl (optional) that need to be deprecated and urls also optional that must be present for TCF v2.2. It will be better to have separate types like EuGVL and CaGVL and then GVL = EuGVL | CaGVL if needed.

The other problem with VendorList interface that also need to be regulation specific under the hood as now it holds Vendor form EuGVL.

So, maybe it will be easier to have regulation specific functions, like

getEuGvlFromVendorList(vendorList: EuVendorList): EuGVL 
async getEuGvlFromUrl(gvlUrlConfig: GVLUrlConfig): Promise<EuGVL>

What do you think @HeinzBaumann

@HeinzBaumann
Copy link
Collaborator

Yes, we could update GVL type to make it more genetic and include Canada specific fields like impConsPurposes, but it will create a mess that it's difficult to manage and support.

For example now GPP GVL still has TCF v2 properties like policyUrl (optional) that need to be deprecated and urls also optional that must be present for TCF v2.2. It will be better to have separate types like EuGVL and CaGVL and then GVL = EuGVL | CaGVL if needed.

The other problem with VendorList interface that also need to be regulation specific under the hood as now it holds Vendor form EuGVL.

So, maybe it will be easier to have regulation specific functions, like

getEuGvlFromVendorList(vendorList: EuVendorList): EuGVL 
async getEuGvlFromUrl(gvlUrlConfig: GVLUrlConfig): Promise<EuGVL>

What do you think @HeinzBaumann

That works for me.

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

No branches or pull requests

2 participants