Skip to content

Commit

Permalink
add dt.pref for DigiTrust in rubiconBidAdapter (prebid#1376)
Browse files Browse the repository at this point in the history
  • Loading branch information
snapwich authored and Matt Kendall committed Jul 13, 2017
1 parent 81f3877 commit 1f0c570
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion modules/rubiconBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ function RubiconAdapter() {
}
return [
'dt.id', digiTrustId.id,
'dt.keyv', digiTrustId.keyv
'dt.keyv', digiTrustId.keyv,
'dt.pref', 0
];
}

Expand Down
3 changes: 2 additions & 1 deletion test/spec/modules/rubiconBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,8 @@ describe('the rubicon adapter', () => {

let expectedQuery = {
'dt.id': 'testId',
'dt.keyv': 'testKeyV'
'dt.keyv': 'testKeyV',
'dt.pref': '0'
};

// test that all values above are both present and correct
Expand Down

0 comments on commit 1f0c570

Please sign in to comment.