Skip to content

Commit

Permalink
Add OpenRTB 2.6 Regulation fields (bsm#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
codenaugh authored Feb 19, 2024
1 parent 5547ba6 commit e622479
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions openrtb.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e622479

Please sign in to comment.