Skip to content

Commit

Permalink
OpenX Bid Adapter: remove transformBidParams (prebid#11458)
Browse files Browse the repository at this point in the history
* OpenX Bid Adapter: remove transformBidParams

* remove unneeded import

---------

Co-authored-by: Chris Huie <[email protected]>
  • Loading branch information
2 people authored and f.caspar committed May 14, 2024
1 parent 6673ea3 commit cb00b18
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions modules/openxBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import * as utils from '../src/utils.js';
import {mergeDeep} from '../src/utils.js';
import {BANNER, VIDEO} from '../src/mediaTypes.js';
import {ortbConverter} from '../libraries/ortbConverter/converter.js';
import {convertTypes} from '../libraries/transformParamsUtils/convertTypes.js';

const bidderConfig = 'hb_pb_ortb';
const bidderVersion = '2.0';
Expand All @@ -18,8 +17,7 @@ export const spec = {
isBidRequestValid,
buildRequests,
interpretResponse,
getUserSyncs,
transformBidParams
getUserSyncs
};

registerBidder(spec);
Expand Down Expand Up @@ -153,13 +151,6 @@ const converter = ortbConverter({
}
});

function transformBidParams(params, isOpenRtb) {
return convertTypes({
'unit': 'string',
'customFloor': 'number'
}, params);
}

function isBidRequestValid(bidRequest) {
const hasDelDomainOrPlatform = bidRequest.params.delDomain ||
bidRequest.params.platform;
Expand Down

0 comments on commit cb00b18

Please sign in to comment.