You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
utils.logWarn(BIDDER_CODE+': Call to OpenBid will not be sent for native ad unit as it does not contain required valid native params.'+JSON.stringify(bid)+' Refer:'+PREBID_NATIVE_HELP_LINK);
654
+
utils.logWarn(LOG_WARN_PREFIX+'Call to OpenBid will not be sent for native ad unit as it does not contain required valid native params.'+JSON.stringify(bid)+' Refer:'+PREBID_NATIVE_HELP_LINK);
654
655
return;
655
656
}
656
657
returnimpObj;
@@ -717,7 +718,7 @@ function _parseNativeResponse(bid, newBid) {
717
718
try{
718
719
adm=JSON.parse(bid.adm.replace(/\\/g,''));
719
720
}catch(ex){
720
-
utils.logWarn(BIDDER_CODE+'Error: Cannot parse native reponse for ad response: '+newBid.adm);
721
+
utils.logWarn(LOG_WARN_PREFIX+'Error: Cannot parse native reponse for ad response: '+newBid.adm);
utils.logWarn(BIDDER_CODE+'Error: publisherId is mandatory and cannot be numeric. Call to OpenBid will not be sent for ad unit: '+JSON.stringify(bid));
788
+
utils.logWarn(LOG_WARN_PREFIX+'Error: publisherId is mandatory and cannot be numeric. Call to OpenBid will not be sent for ad unit: '+JSON.stringify(bid));
788
789
returnfalse;
789
790
}
790
791
if(!utils.isStr(bid.params.adSlot)){
791
-
utils.logWarn(BIDDER_CODE+': adSlotId is mandatory and cannot be numeric. Call to OpenBid will not be sent for ad unit: '+JSON.stringify(bid));
792
+
utils.logWarn(LOG_WARN_PREFIX+'Error: adSlotId is mandatory and cannot be numeric. Call to OpenBid will not be sent for ad unit: '+JSON.stringify(bid));
utils.logWarn(BIDDER_CODE+': For video ads, mimes is mandatory and must specify atlease 1 mime value. Call to OpenBid will not be sent for ad unit:'+JSON.stringify(bid));
798
+
utils.logWarn(LOG_WARN_PREFIX+'Error: For video ads, mimes is mandatory and must specify atlease 1 mime value. Call to OpenBid will not be sent for ad unit:'+JSON.stringify(bid));
utils.logWarn(BIDDER_CODE+': Currency specifier ignored. Only one currency permitted.');
845
+
utils.logWarn(LOG_WARN_PREFIX+'Currency specifier ignored. Only one currency permitted.');
845
846
}
846
847
bid.params.currency=bidCurrency;
847
848
// check if dctr is added to more than 1 adunit
@@ -910,13 +911,13 @@ export const spec = {
910
911
key_val: dctr.trim()
911
912
}
912
913
}else{
913
-
utils.logWarn(BIDDER_CODE+': Ignoring param : dctr with value : '+dctr+', expects string-value, found empty or non-string value');
914
+
utils.logWarn(LOG_WARN_PREFIX+'Ignoring param : dctr with value : '+dctr+', expects string-value, found empty or non-string value');
914
915
}
915
916
if(dctrArr.length>1){
916
-
utils.logWarn(BIDDER_CODE+': dctr value found in more than 1 adunits. Value from 1st adunit will be picked. Ignoring values from subsequent adunits');
917
+
utils.logWarn(LOG_WARN_PREFIX+'dctr value found in more than 1 adunits. Value from 1st adunit will be picked. Ignoring values from subsequent adunits');
917
918
}
918
919
}else{
919
-
utils.logWarn(BIDDER_CODE+': dctr value not found in 1st adunit, ignoring values from subsequent adunits');
920
+
utils.logWarn(LOG_WARN_PREFIX+'dctr value not found in 1st adunit, ignoring values from subsequent adunits');
920
921
}
921
922
}
922
923
@@ -1004,7 +1005,7 @@ export const spec = {
1004
1005
url: syncurl
1005
1006
}];
1006
1007
}else{
1007
-
utils.logWarn('PubMatic: Please enable iframe based user sync.');
1008
+
utils.logWarn(LOG_WARN_PREFIX+'Please enable iframe based user sync.');
0 commit comments