Skip to content

Commit e622479

Browse files
authored
Add OpenRTB 2.6 Regulation fields (bsm#115)
1 parent 5547ba6 commit e622479

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

openrtb.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -831,8 +831,10 @@ type Segment struct {
831831
// coppa flag signals whether or not the request falls under the United States Federal Trade Commission's
832832
// regulations for the United States Children's Online Privacy Protection Act ("COPPA").
833833
type Regulations struct {
834-
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.
835-
Ext json.RawMessage `json:"ext,omitempty"`
834+
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.
835+
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.
836+
USPrivacy string `json:"us_privacy,omitempty"` // Communicates signals regarding consumer privacy under US privacy regulation.
837+
Ext json.RawMessage `json:"ext,omitempty"`
836838
}
837839

838840
// Format object represents an allowed size (i.e., height and width combination) for a banner impression.

0 commit comments

Comments
 (0)