Skip to content

Commit

Permalink
Rubicon: remove transformBidParams function
Browse files Browse the repository at this point in the history
Per #6361

Confirmed that the server-side adapters for both PBS-Go and PBS-Java handle the type conversion.
  • Loading branch information
bretg committed Jan 9, 2024
1 parent 6689373 commit d4467a4
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions modules/rubiconBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import {
_each
} from '../src/utils.js';
import {getAllOrtbKeywords} from '../libraries/keywords/keywords.js';
import {convertTypes} from '../libraries/transformParamsUtils/convertTypes.js';

const DEFAULT_INTEGRATION = 'pbjs_lite';
const DEFAULT_PBS_INTEGRATION = 'pbjs';
Expand Down Expand Up @@ -766,19 +765,6 @@ export const spec = {
url: `https://${rubiConf.syncHost || 'eus'}.rubiconproject.com/usync.html` + params
};
}
},
/**
* Covert bid param types for S2S
* @param {Object} params bid params
* @param {Boolean} isOpenRtb boolean to check openrtb2 protocol
* @return {Object} params bid params
*/
transformBidParams: function(params, isOpenRtb) {
return convertTypes({
'accountId': 'number',
'siteId': 'number',
'zoneId': 'number'
}, params);
}
};

Expand Down

0 comments on commit d4467a4

Please sign in to comment.