From e622479794dacd246351de4aa163a550fedd2d46 Mon Sep 17 00:00:00 2001 From: Cody Lanier <5515905+codenaugh@users.noreply.github.com> Date: Mon, 19 Feb 2024 02:41:38 -0800 Subject: [PATCH] Add OpenRTB 2.6 Regulation fields (#115) --- openrtb.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openrtb.go b/openrtb.go index da9d50b..330de38 100644 --- a/openrtb.go +++ b/openrtb.go @@ -831,8 +831,10 @@ type Segment struct { // coppa flag signals whether or not the request falls under the United States Federal Trade Commission's // regulations for the United States Children's Online Privacy Protection Act ("COPPA"). type Regulations struct { - COPPA int `json:"coppa,omitempty"` // Flag indicating if this request is subject to the COPPA regulations established by the USA FTC, where 0 = no, 1 = yes. - Ext json.RawMessage `json:"ext,omitempty"` + COPPA int `json:"coppa,omitempty"` // Flag indicating if this request is subject to the COPPA regulations established by the USA FTC, where 0 = no, 1 = yes. + GDPR int `json:"gdpr,omitempty"` // Flag that indicates whether or not the request is subject to GDPR regulations 0 = No, 1 = Yes, omission indicates Unknown. + USPrivacy string `json:"us_privacy,omitempty"` // Communicates signals regarding consumer privacy under US privacy regulation. + Ext json.RawMessage `json:"ext,omitempty"` } // Format object represents an allowed size (i.e., height and width combination) for a banner impression.