Skip to content

Commit

Permalink
Rubicon Bid Adapter: updated transactionId to auctionId for OpenRTB (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
bretg authored Feb 11, 2021
1 parent c9e8869 commit f672209
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions modules/rubiconBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export const spec = {
test: config.getConfig('debug') ? 1 : 0,
cur: ['USD'],
source: {
tid: bidRequest.transactionId
tid: bidRequest.auctionId
},
tmax: bidderRequest.timeout,
imp: [{
Expand Down Expand Up @@ -424,7 +424,7 @@ export const spec = {
'rp_floor': (params.floor = parseFloat(params.floor)) >= 0.01 ? params.floor : undefined,
'rp_secure': '1',
'tk_flint': `${rubiConf.int_type || DEFAULT_INTEGRATION}_v$prebid.version$`,
'x_source.tid': bidRequest.transactionId,
'x_source.tid': bidRequest.auctionId,
'x_source.pchain': params.pchain,
'p_screen_res': _getScreenResolution(),
'tk_user_key': params.userId,
Expand Down
8 changes: 4 additions & 4 deletions test/spec/modules/rubiconBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ describe('the rubicon adapter', function () {
'rp_secure': /[01]/,
'rand': '0.1',
'tk_flint': INTEGRATION,
'x_source.tid': 'd45dd707-a418-42ec-b8a7-b70a6c6fab0b',
'x_source.tid': 'c45dd708-a418-42ec-b8a7-b70a6c6fab0a',
'x_source.pchain': 'GAM:11111-reseller1:22222',
'p_screen_res': /\d+x\d+/,
'tk_user_key': '12346',
Expand Down Expand Up @@ -572,7 +572,7 @@ describe('the rubicon adapter', function () {
'rp_secure': /[01]/,
'rand': '0.1',
'tk_flint': INTEGRATION,
'x_source.tid': 'd45dd707-a418-42ec-b8a7-b70a6c6fab0b',
'x_source.tid': 'c45dd708-a418-42ec-b8a7-b70a6c6fab0a',
'p_screen_res': /\d+x\d+/,
'tk_user_key': '12346',
'kw': 'a,b,c',
Expand Down Expand Up @@ -895,7 +895,7 @@ describe('the rubicon adapter', function () {
'rp_secure': /[01]/,
'rand': '0.1',
'tk_flint': INTEGRATION,
'x_source.tid': 'd45dd707-a418-42ec-b8a7-b70a6c6fab0b',
'x_source.tid': 'c45dd708-a418-42ec-b8a7-b70a6c6fab0a',
'p_screen_res': /\d+x\d+/,
'tk_user_key': '12346',
'kw': 'a,b,c',
Expand Down Expand Up @@ -2067,7 +2067,7 @@ describe('the rubicon adapter', function () {
'p_pos': 'atf',
'rp_secure': /[01]/,
'tk_flint': INTEGRATION,
'x_source.tid': 'd45dd707-a418-42ec-b8a7-b70a6c6fab0b',
'x_source.tid': 'c45dd708-a418-42ec-b8a7-b70a6c6fab0a',
'p_screen_res': /\d+x\d+/,
'tk_user_key': '12346',
'kw': 'a,b,c',
Expand Down

0 comments on commit f672209

Please sign in to comment.