Skip to content

Commit

Permalink
Resolve video case namespace check
Browse files Browse the repository at this point in the history
  • Loading branch information
pm-nitin-shirsat committed May 24, 2023
1 parent 12ac94c commit 962f83e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src_new/conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions src_new/owt.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 962f83e

Please sign in to comment.