Skip to content

Commit ee6f55d

Browse files
Merge pull request #46 from UnityTech/ABT-3931
ABT-3931: Always include `imp.instl` and disentangle `regs.gdpr` NO/UNKNOWN values
2 parents 569894c + af22db4 commit ee6f55d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

impression.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ type Impression struct {
2626
DisplayManager string `json:"displaymanager,omitempty"` // Name of ad mediation partner, SDK technology, etc
2727
DisplayManagerVer string `json:"displaymanagerver,omitempty"` // Version of the above
2828
Clickbrowser int `json:"clickbrowser"` // Indicates the type of browser opened upon clicking the creative in an app, where 0 = embedded, 1 = native
29-
Instl int `json:"instl,omitempty"` // Interstitial, Default: 0 ("1": Interstitial, "0": Something else)
29+
Instl int `json:"instl"` // Interstitial, Default: 0 ("1": Interstitial, "0": Something else)
3030
TagID string `json:"tagid,omitempty"` // IDentifier for specific ad placement or ad tag
3131
BidFloor float64 `json:"bidfloor,omitempty"` // Bid floor for this impression in CPM
3232
BidFloorCurrency string `json:"bidfloorcur,omitempty"` // Currency of bid floor

openrtb.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ type UID struct {
774774
// regulations for the United States Children's Online Privacy Protection Act ("COPPA").
775775
type Regulations struct {
776776
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.
777-
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.
777+
GDPR *int `json:"gdpr,omitempty"` // Flag that indicates whether the request is subject to GDPR regulations 0 = No, 1 = Yes, omission indicates Unknown.
778778
USPrivacy string `json:"us_privacy,omitempty"` // Communicates signals regarding consumer privacy under US privacy regulation.
779779
Ext RegExtension `json:"ext,omitempty"`
780780
}

0 commit comments

Comments
 (0)