diff --git a/src_new/conf.js b/src_new/conf.js index 32616419..f50c4a1a 100644 --- a/src_new/conf.js +++ b/src_new/conf.js @@ -26,7 +26,7 @@ exports.pwt = { pubAnalyticsAdapter: "0", reduceCodeSize:1, pbGlobalVarNamespace: "custPbNamespace", - owGlobalVarNamespace: "XYZ" + owGlobalVarNamespace: "NIT" }; // singleImpression is used to enable feature of sending single impression for multiple size ad slot earlier there were multiple impression for multiple sizes diff --git a/src_new/owt.js b/src_new/owt.js index d41173d7..0431197b 100644 --- a/src_new/owt.js +++ b/src_new/owt.js @@ -167,8 +167,7 @@ window.PWT.generateDFPURL= function(adUnit,cust_params){ if(adUnit.bid){ params["bid"] = adUnit.bid; } - var namespace = CONFIG.getOverrideNamespace(CONSTANTS.CONFIG.PB_GLOBAL_VAR_NAMESPACE, CONSTANTS.COMMON.PREBID_NAMESPACE, CONSTANTS.COMMON.PREBID_NAMESPACE); - dfpurl = window[namespace].adServers.dfp.buildVideoUrl(params); + dfpurl = window.owpbjs.adServers.dfp.buildVideoUrl(params); return dfpurl; }; // endRemoveIf(removeInStreamRelatedCode)