我在我的网站上使用 Revive Adserver,但我遇到了定位问题。
这是我的调用代码
var m3_u = (location.protocol=='https:'?'https://ads.pingola.ru/www/delivery/ajs.php':'http://ads.pingola.ru/www/delivery/ajs.php');
var m3_r = Math.floor(Math.random()*99999999999);
if (!document.MAX_used) document.MAX_used = ',';
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
document.write ("?zoneid={{item_zone_id}}");
{% if target_params != ''%}
document.write ("{{target_params}}");
{% endif %}
document.write ('&cb=' + m3_r);
if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
document.write ("&loc=" + escape(window.location));
if (document.referrer) document.write ("&referer=" + escape(document.referrer));
if (document.context) document.write ("&context=" + escape(document.context));
if (document.mmm_fo) document.write ("&mmm_fo=1");
document.write ("'><\/scr"+"ipt>");
这是此代码的请求 urldelivery/ajs.php?zoneid=15&category=cars&make=Mazda&model=2&body=hatchback&price=640000&year=2013&vol=1500&fuel=gasoline&cond=excellent&kpp=automatic&color=red&isNew=1&cb=1702326047&charset=UTF-8&loc=http
如果不设置交付选项横幅会显示并且一切正常。如果我设置了交货限制站点 - 变量(fe 类别与汽车相同)横幅不显示。有趣的事实 - 如果我设置的类别与显示的汽车横幅不同。