Skip to content

Commit 62306bb

Browse files
hailsryannabiber
authored andcommitted
updated gdpr fields (#2)
1 parent b3b3b1b commit 62306bb

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

openrtb.go

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,8 @@ type Segment struct {
279279
// coppa flag signals whether or not the request falls under the United States Federal Trade Commission's
280280
// regulations for the United States Children's Online Privacy Protection Act ("COPPA").
281281
type Regulations struct {
282-
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.
283-
Ext Extension `json:"ext,omitempty"`
282+
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.
283+
Ext RegExtension `json:"ext,omitempty"`
284284
}
285285

286286
// This object represents an allowed size (i.e., height and width combination) for a banner impression.
@@ -290,3 +290,8 @@ type Format struct {
290290
H int `json:"h,omitempty"` //Height in device independent pixels (DIPS).
291291
Ext Extension `json:"ext,omitempty"`
292292
}
293+
294+
// RegExtension Extension object for Regulations
295+
type RegExtension struct {
296+
GDPR int `json:"gdpr,omitempty"`
297+
}

0 commit comments

Comments
 (0)