Skip to content

Commit 892ea80

Browse files
authored
OFF-657 remove ip as a bidder request parameter (#6) (prebid#3047)
1 parent e0999b8 commit 892ea80

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

adapters/flipp/flipp.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,7 @@ func (a *adapter) processImp(request *openrtb2.BidRequest, imp openrtb2.Imp) (*a
114114
}
115115

116116
var userIP string
117-
if flippExtParams.IP != "" {
118-
userIP = flippExtParams.IP
119-
} else if request.Device != nil && request.Device.IP != "" {
117+
if request.Device != nil && request.Device.IP != "" {
120118
userIP = request.Device.IP
121119
} else {
122120
return nil, fmt.Errorf("no IP set in flipp bidder params or request device")

adapters/flipp/flipptest/exemplary/simple-banner-native.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"creativeType": "NativeX",
3131
"siteId": 1243066,
3232
"zoneIds": [285431],
33-
"ip": "123.123.123.124",
3433
"options": {
3534
"startCompact": true,
3635
"contentCode": "publisher-test-2"
@@ -46,7 +45,7 @@
4645
"expectedRequest": {
4746
"uri": "http://example.com/pserver",
4847
"body": {
49-
"ip":"123.123.123.124",
48+
"ip":"123.123.123.123",
5049
"keywords":[
5150
""
5251
],

openrtb_ext/imp_flipp.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ type ImpExtFlipp struct {
66
SiteID int64 `json:"siteId"`
77
ZoneIds []int64 `json:"zoneIds,omitempty"`
88
UserKey string `json:"userKey,omitempty"`
9-
IP string `json:"ip,omitempty"`
109
Options ImpExtFlippOptions `json:"options,omitempty"`
1110
}
1211

0 commit comments

Comments
 (0)