Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateConsent ¶
ValidateConsent returns true if the consent string is empty or valid per the IAB TCF spec.
Types ¶
type ConsentWriter ¶
ConsentWriter implements the PolicyWriter interface for GDPR TCF.
func (ConsentWriter) Write ¶
func (c ConsentWriter) Write(req *openrtb2.BidRequest) error
Write mutates an OpenRTB bid request with the GDPR TCF consent.
Click to show internal directories.
Click to hide internal directories.