Open tiberlas opened 1 year ago
Where did GpcSegmentType instead of SubsectionType that is in the usnat spec pop up?
Yes, you're right, it should be SubsectionType. The GpcSegmentType was in version 1.0.
And what about the object position in the array, will the GPC Sub-section always be on position?
Yes it looks good for me. "data" should be "an array of objects, where each object represents one sub-section". So for usnat it would be an array with one, maximal 2 objects in there, where the object consist of the fields given here: https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform/blob/main/Sections/US-National/IAB%20Privacy%E2%80%99s%20National%20Privacy%20Technical%20Specification.md
so yes (besides the GpcSegmentType) it looks fine
Hi, it's unclear to me from the documentations for GPP v1.1 how the callback function for 'getSection' will look?
In my understanding for 'usnat' it will look like this:
Is this correct? Will the core consent always be the first element in the array?
One last unclearly is the success callback param.