-
Notifications
You must be signed in to change notification settings - Fork 748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed Digitrust From Prebid Server #1892
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -643,50 +643,6 @@ func TestUserEidsOnly(t *testing.T) { | |
} | ||
} | ||
|
||
func TestUserDigitrustOnly(t *testing.T) { | ||
var w, h int = 300, 250 | ||
|
||
var width, height int64 = int64(w), int64(h) | ||
|
||
bidder, buildErr := Builder(openrtb_ext.BidderDmx, config.Adapter{ | ||
Endpoint: "https://dmx.districtm.io/b/v2"}) | ||
|
||
if buildErr != nil { | ||
t.Fatalf("Builder returned unexpected error %v", buildErr) | ||
} | ||
|
||
imp1 := openrtb2.Imp{ | ||
ID: "imp1", | ||
Ext: json.RawMessage("{\"bidder\":{\"dmxid\": \"1007\", \"memberid\": \"123456\", \"seller_id\":\"1008\"}}"), | ||
Banner: &openrtb2.Banner{ | ||
W: &width, | ||
H: &height, | ||
Format: []openrtb2.Format{ | ||
{W: 300, H: 250}, | ||
}, | ||
}} | ||
|
||
inputRequest := openrtb2.BidRequest{ | ||
Imp: []openrtb2.Imp{imp1, imp1, imp1}, | ||
Site: &openrtb2.Site{ | ||
Publisher: &openrtb2.Publisher{ | ||
ID: "10007", | ||
}, | ||
}, | ||
User: &openrtb2.User{Ext: json.RawMessage(`{ | ||
"digitrust": { | ||
"id": "11111111111", | ||
"keyv": 4 | ||
}}`)}, | ||
ID: "1234", | ||
} | ||
|
||
actualAdapterRequests, _ := bidder.MakeRequests(&inputRequest, &adapters.ExtraRequestInfo{}) | ||
if len(actualAdapterRequests) != 1 { | ||
t.Errorf("should have 1 request") | ||
} | ||
} | ||
|
||
func TestUsersEids(t *testing.T) { | ||
var w, h int = 300, 250 | ||
|
||
|
@@ -728,16 +684,14 @@ func TestUsersEids(t *testing.T) { | |
},{ | ||
"source": "pubcid.org", | ||
"uids": [{ | ||
"id":"11111111" | ||
"id": "11111111" | ||
}] | ||
}, | ||
{ | ||
},{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we roll back to:
please? |
||
"source": "id5-sync.com", | ||
"uids": [{ | ||
"id": "ID5-12345" | ||
}] | ||
}, | ||
{ | ||
}, { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we roll back to:
please? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated! |
||
"source": "parrable.com", | ||
"uids": [{ | ||
"id": "01.1563917337.test-eid" | ||
|
@@ -767,11 +721,8 @@ func TestUsersEids(t *testing.T) { | |
"uids": [{ | ||
"id": "11111111" | ||
}] | ||
}], | ||
"digitrust": { | ||
"id": "11111111111", | ||
"keyv": 4 | ||
}}`)}, | ||
}] | ||
}`)}, | ||
ID: "1234", | ||
} | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -144,7 +144,6 @@ | |
} | ||
], | ||
"ext": { | ||
"digitrust": null, | ||
"rp": { | ||
"target": { | ||
"iab": [ | ||
|
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please send an email to DMX notifying them of this change to their adapter.