We are trying to implement ads on our website. We send a javascript call to the ad server which in turn returns javascript as response.
The returned javascript is in as follows:
document.write('<scr'+'ipt type="text/javascript" src="http://ad.doubleclick.net/adj/;net=wfm;u=,wfm-21344506162_1343958067,1290bc3a7d845dc,health,ax.10-wfm.hliv_l-wfm.health_l-bv.am-bv.ax-bv.b77-bv.b21-bv.b26-bv.c18-bv.b76-bv.c44-bv.b7-bv.b48-bv.c22-bv.c4-bv.b79-bv.c9-bv.c17-bv.c39-bv.c12-bv.c3-bv.b13-bv.a65;pos=top;ugc=0;!c=aaa;tile=1;sz=300x250;cmw=owl;contx=health;cmd=www.abc.com;an=10;bu=109;br=390;btg=wfm.hliv_l;btg=wfm.health_l;btg=bv.am;btg=bv.ax;btg=bv.b77;btg=bv.b21;btg=bv.b26;btg=bv.c18;btg=bv.b76;btg=bv.c44;btg=bv.b7;btg=bv.b48;btg=bv.c22;btg=bv.c4;btg=bv.b79;btg=bv.c9;btg=bv.c17;btg=bv.c39;btg=bv.c12;btg=bv.c3;btg=bv.b13;btg=bv.a65;ord=114194322"></scr'+'ipt>');
The issue is happening when viewing the website within the company vs outside the company. For the same javascript within companys network throws the following error
Resource interpreted as script but transferred with MIME type text/html
When viewed outside company's network, the ad displays fine.
Any insights on why this could be happening