Open aagrawal207 opened 1 week ago
Hi all,
I have been trying to use the following code to set the publisher restrictions in EU TCF V2 and always get Encoding Exception, what am I doing wrong?
List<RangeEntry> publisherRestrictions = consent.getConsentData() .getGvlSettings() .getPublisherRestrictions() .stream() .map(pr -> new RangeEntry(pr.getPurposeId(), pr.getRestrictionType(), pr.getVendors())).collect(Collectors.toList()); gppModel.setFieldValue(TcfEuV2.NAME, TcfEuV2Field.PUBLISHER_RESTRICTIONS, publisherRestrictions);
@iabmayank / @chuff Please help here as well.
Hi all,
I have been trying to use the following code to set the publisher restrictions in EU TCF V2 and always get Encoding Exception, what am I doing wrong?