|
| Current Path : Home » Inoutscripts Products » Inout Adserver » Inout Adserver Ultimate |
| February 4, 2012, 7:17 am |
|
Riju
Posts: 3
| ![]() |
Ads are not showing in site
I have created few ads, publisher , and copied the js code to show the ads in a page .but the ads are are not showing in the page.
|
| February 4, 2012, 7:25 am |
|
Anu T Thomas
Posts: 833
| ![]() |
Re:Ads are not showing in site
Hello Riju,
Please check whether the advertiser have enough account balance to show in publisher sites (i mean if you have created the ad unit from publisher area) and the ads will show according to the language selected and based on country targeting too. I hope you have cleared your doubts, please check with these and feel free to ask if you have any more queries. Thanks and Regards Anu T Thomas Customer Support Executive Inoutscripts.com |
| February 6, 2012, 6:50 pm |
|
Riju
Posts: 3
| ![]() |
Re:Ads are not showing in site
Hi,
I dont know what is the issue , still its not listing in the site. I have not selected any language and no location(It means its global it says). Fund for advertiser i have added as admin and approved. The javascript code the ad frame showing in my site not having any call to the adserver.Javascript i am seeing is follows. Olny function definition i can see here , no ajax call to the adserver. function LoadCreditText(idcredit) { document.getElementById("idiv_"+idcredit).style.display="none"; document.getElementById("crd_"+idcredit).style.display=""; } function DisableCreditText(idcredits) { document.getElementById("idiv_"+idcredits).style.display=""; document.getElementById("crd_"+idcredits).style.display="none"; } </script> <script type="text/javascript" language="javascript"> set_flag=1; function GetXmlHttpObject() { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari return new XMLHttpRequest(); } if (window.ActiveXObject) { // code for IE6, IE5 return new ActiveXObject("Microsoft.XMLHTTP"); } return null; } function stateChanged() {//alert(xmlhttp.readyState); if (xmlhttp.readyState==4) { if(set_flag==1) { document.getElementById("set_1").innerHTML=xmlhttp.responseText; evalScript(xmlhttp.responseText); document.getElementById("set_1").style.display="block"; document.getElementById("set_2").style.display="none"; document.getElementById("set_3").style.display="none"; } if(set_flag==2) { document.getElementById("set_2").innerHTML=xmlhttp.responseText; evalScript(xmlhttp.responseText); document.getElementById("set_2").style.display="block"; document.getElementById("set_1").style.display="none"; document.getElementById("set_3").style.display="none"; } if(set_flag==3) { //alert(xmlhttp.responseText); document.getElementById("set_3").innerHTML=xmlhttp.responseText; evalScript(xmlhttp.responseText); document.getElementById("set_3").style.display="block"; document.getElementById("set_2").style.display="none"; document.getElementById("set_1").style.display="none"; } document.getElementById("loading").style.display="none"; } } function paging(set) { if(document.getElementById("set_"+set).innerHTML !="") { //alert(set); if(set==1) { //alert(set); document.getElementById("set_1").style.display="block"; document.getElementById("set_2").style.display="none"; document.getElementById("set_3").style.display="none"; } if(set==2) { //alert(set); document.getElementById("set_2").style.display="block"; document.getElementById("set_1").style.display="none"; document.getElementById("set_3").style.display="none"; } if(set==3) { document.getElementById("set_3").style.display="block"; document.getElementById("set_2").style.display="none"; document.getElementById("set_1").style.display="none"; } return; } document.getElementById("set_"+set_flag).style.display="none"; document.getElementById("loading").style.display="block"; set_flag=set; xmlhttp=GetXmlHttpObject(); if (xmlhttp==null) { alert ("Browser does not support HTTP Request"); return; } var url="http://instantfinder.com/adserver/publisher-show-ads-paging.php?"+"set="+set+"&id=4&ht=60&r=f&blockcount=1&content_type=&search=instant&ref=&server_path_id=1&original_url_string=http%3A%2F%2Finstantfinder.com%2Fadserver%2F"; //alert(url); xmlhttp.onreadystatechange=stateChanged; xmlhttp.open("GET",encodeURI(url),true); xmlhttp.send(null); } function evalScript(scripts) { try { if(scripts != '') { var script = ""; scripts = scripts.replace(/<script[^>]*>([\s\S]*?)<\/script>/gi, function(){ if (scripts !== null) script += arguments[1] + '\n'; return '';}); //alert(script); if(script) (window.execScript) ? window.execScript(script) : window.setTimeout(script, 0); } return false; } catch(e) { alert(e) } } |
| February 6, 2012, 7:05 pm |
|
Riju
Posts: 3
| ![]() |
Re:Ads are not showing in site
Hi,
I have not created cronprocess yet, will it be a problem. I am seeing these two errors in my admin panel. ♦ Your cron job was last executed sucessfully at Jan/ 1/70 12:00:00 AM. ♦ Your database table collation is set to utf8_unicode_ci. If this is wrong, please contact our support desk. ♦ It seems 'adserver_parentstatus_updation' trigger is not created in your database. If your mysql user does not have privliege to create trigger, copy the trigger from admin/trigger.php and get it created by your host. Rijesh. |
| February 7, 2012, 4:56 pm |
|
Parameswaran Namboodiri
Posts: 2
| ![]() |
Re:Ads are not showing in site
Hi,
Please help me on this. Still the ads are not displaying. |
| February 7, 2012, 5:21 pm |
|
Anu T Thomas
Posts: 833
| ![]() |
Re:Ads are not showing in site
Hello Riju,
Please set the cron job run as once an hour from the cpanel. Also for creating the trigger, please send the steps to your server guys to create it in your mysql server: The trigger creation queries are given below. //first connect to mysql from terminal and execute the following queries //query to check existing triggers show triggers G; //query to create trigger delimiter $$ create trigger `adserver_parentstatus_updation` after update on `nesote_inoutscripts_users` for each row begin update `ppc_users` set parent_status = NEW.status where common_account_id=NEW.id; update `ppc_publishers` set parent_status = NEW.status where common_account_id=NEW.id; END; $$ //query to reset delimiter delimiter ; //query to check whether trigger is created show triggers G; Please let me know if you have any doubts. Thanks and Regards Anu T Thomas Customer Support Executive Inoutscripts.com |
| February 11, 2012, 5:35 am |
|
Parameswaran Namboodiri
Posts: 2
| ![]() |
Re:Ads are not showing in site
Hi ,
I have started the cron and created the trigger. But the still its not showing any ads. Showing the same javascript code i sent earlier. Please help me on this. |
| February 11, 2012, 11:15 am |
|
Anu T Thomas
Posts: 833
| ![]() |
Re:Ads are not showing in site
Hello Parameswaran,
Can i have the admin info please, we will check the issue. Please send the it to our mail id, "support@inoutscripts.com". Thanks and Regards Anu T Thomas Customer Support Executive Inoutscripts.com |
| February 25, 2012, 2:00 pm |
|
radu
Posts: 1
| ![]() |
Re:Ads are not showing in site
Dear RIJU,
I had a similar issue with the inoutscripts addserver ultimate version 5.3 for one of my customers. Sometimes don't display the commercials in the website. After digging for some hours in the sources I found the problem: it is about the way addserver filter the adds by language reported by the browser. In file "show-ads.php" at line 143 you vill see: $mec_lan=$_SERVER["HTTP_ACCEPT_LANGUAGE"]; From different browsers you can get different values here: IE: mec_lan: en-us FireFox: mec_lan: ro-ro,ro;q=0.8,en-us;q=0.6,en-gb;q=0.4,en;q=0.2 The lines bellow are not handling very well all those responses. The quick way to fix the problem and allways to display the commercials is to replace line 143 with: $mec_lan="en-us"; In this way the language reported by the browser is ignored and english is allways returned. The commercials created with All languages option will be displayed. For a better solution we shoud ask for a bugfix here (All languages option should do what it says). |
| March 17, 2012, 11:44 am |
|
Maria Augustine
Posts: 505
| ![]() |
Re:Ads are not showing in site
Hello Riju,
Sorry for delay in response. Please let me know whether existing your issues right now or not. Otherwise please close the ticket. Thanks and Regards Maria Augustine Customer Support Executive inoutscripts.com |
| Copyright © 2009 Inoutscripts.com. All Rights Reserved. Inoutscripts Home |