InteractiveAdvertisingBureau / Global-Privacy-Platform

IAB Tech Lab Global Privacy Platform specification
71 stars 34 forks source link

Discrepancies Between IAB Documentation and IAB GPP Encoder/Decoder Tool or CMP's #112

Closed pm-nitin-shirsat closed 2 days ago

pm-nitin-shirsat commented 1 month ago

Hello Team,

I have noticed discrepancies between the IAB documentation IAB GPP Doc and the IAB GPP encoder/decoder tool IAB Decoder/Encoder Tool

The conflicts/issues are as follows:

  1. The value types of parsed sections differ. According to the IAB documentation, they should be an array of objects, whereas the decoder tool shows them as an object (Attached image for shows how decoder tool uses objects whereas array of objects is mentioned in the documentation under getSection command)
  2. The decoding parameters(properties) for TCFEU2 have different names in the IAB documentation than the decoder tool (Highlighted in the attached image for reference)
  3. In the GPC subsection,
    1. The field names vary: the IAB documentation uses "SubsectionType" while the decoder tool uses "GpcSegmentType". Which one is the right one?

My questions are:

  1. Is there a plan to fix these discrepancies? If yes, is there a timeline?
  2. As of today, which format should CMPs follow (referring to conflicts in points 1 and 2)?

NOTE: We observed that most CMPs currently use the format provided by the decoder tool rather than the IAB documentation.

Your insights would be greatly appreciated.

Discrepancy_IAB_doc_ _tool
lamrowena commented 3 weeks ago

@pm-nitin-shirsat For all three issues you've highlighted the spec is correct and the tool is incorrect. We will fix these in the tool.

pm-nitin-shirsat commented 3 weeks ago

Thank you @lamrowena !