Skip to content

Commit

Permalink
fix(permutiveRtd): remove alias map in legacy segment setting
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioGargaro committed Mar 9, 2023
1 parent 4adff93 commit e1fa634
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions modules/permutiveRtdProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,6 @@ function updateOrtbConfig(bidder, currConfig, segmentIDs, sspSegmentIDs, transfo
function setSegments (reqBidsConfigObj, moduleConfig, segmentData) {
const adUnits = (reqBidsConfigObj && reqBidsConfigObj.adUnits) || getGlobal().adUnits
const utils = { deepSetValue, deepAccess, isFn, mergeDeep }
const aliasMap = {
appnexusAst: 'appnexus'
}

if (!adUnits) {
return
Expand All @@ -219,9 +216,6 @@ function setSegments (reqBidsConfigObj, moduleConfig, segmentData) {
adUnits.forEach(adUnit => {
adUnit.bids.forEach(bid => {
let { bidder } = bid
if (typeof aliasMap[bidder] !== 'undefined') {
bidder = aliasMap[bidder]
}
const acEnabled = isAcEnabled(moduleConfig, bidder)
const customFn = getCustomBidderFn(moduleConfig, bidder)
const defaultFn = getDefaultBidderFn(bidder)
Expand Down

0 comments on commit e1fa634

Please sign in to comment.