Skip to content

Commit

Permalink
rubicon adapter: segtax change (prebid#7098)
Browse files Browse the repository at this point in the history
  • Loading branch information
bretg authored Jun 25, 2021
1 parent e39cb75 commit 7057f54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/rubiconBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ function applyFPD(bidRequest, mediaType, data) {

let fpd = utils.mergeDeep({}, config.getConfig('ortb2') || {}, BID_FPD);
let impData = utils.deepAccess(bidRequest.ortb2Imp, 'ext.data') || {};
const SEGTAX = {user: [3], site: [1, 2]};
const SEGTAX = {user: [4], site: [1, 2]};
const MAP = {user: 'tg_v.', site: 'tg_i.', adserver: 'tg_i.dfp_ad_unit_code', pbadslot: 'tg_i.pbadslot', keywords: 'kw'};
const validate = function(prop, key, parentName) {
if (key === 'data' && Array.isArray(prop)) {
Expand Down
2 changes: 1 addition & 1 deletion test/spec/modules/rubiconBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ describe('the rubicon adapter', function () {
const user = {
data: [{
'name': 'www.dataprovider1.com',
'ext': { 'segtax': 3 },
'ext': { 'segtax': 4 },
'segment': [
{ 'id': '687' },
{ 'id': '123' }
Expand Down

0 comments on commit 7057f54

Please sign in to comment.