github.com/prebid/prebid-server@v0.275.0/openrtb_ext/regs.go (about)

     1  package openrtb_ext
     2  
     3  // ExtRegs defines the contract for bidrequest.regs.ext
     4  type ExtRegs struct {
     5  
     6  	// GDPR should be "1" if the caller believes the user is subject to GDPR laws, "0" if not, and undefined
     7  	// if it's unknown. For more info on this parameter, see: https://iabtechlab.com/wp-content/uploads/2018/02/OpenRTB_Advisory_GDPR_2018-02.pdf
     8  	GDPR *int8 `json:"gdpr,omitempty"`
     9  
    10  	// USPrivacy should be a four character string, see: https://iabtechlab.com/wp-content/uploads/2019/11/OpenRTB-Extension-U.S.-Privacy-IAB-Tech-Lab.pdf
    11  	USPrivacy string `json:"us_privacy,omitempty"`
    12  }