praveen Posted August 23, 2015 Report Share Posted August 23, 2015 (edited) This issue is happening on two sites that i manage.Site #1I disabled two ads for 1 or 2 days and then enabled them again. Since then, i am not able to see the ad on the site. But if i click on "show banner" in the backend, the ads show up.I tried accessing the site via a different IP range (using my mobile network and not my broadband wifi) and the ads show up. I have no filter setup on my system or in the backend (i do not know if there is such an option).Site #2I moved the ad location from middle of the page to the header. Nothing else was changed. And the ads stopped showing. I tried creating a new zone and added that code to the site. But nothing. Both the sides are running the async codes.At the same time, on both of these two sites, ads in other locations/zones are showing fine without any issues.Site #1 is on Wordpress. Site #2 is on 4Images. Both are running the latest stable versions. Revive is also running the latest version.The only additional thing that is setup (on the domain where revive is running) is the htaccess caching lines below because of Google Pagespeed warnings.# Caching Settings <IfModule mod_headers.c> <FilesMatch "\.(flv|gif|jpe?g|png|ico|swf)$"> Header set Cache-Control "max-age=2592000" </FilesMatch> <FilesMatch "\.(js|css|pdf|txt)$"> Header set Cache-Control "max-age=604800" </FilesMatch> <FilesMatch "\.htm(l)?$"> Header set Cache-Control "max-age=43200" </FilesMatch> </IfModule> ## BROWSER CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType text/css "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType text/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType image/x-icon "access 1 year" ExpiresDefault "access 1 week" </IfModule> ## BROWSER CACHING ##Incase it helps, i migrated from OpenX. But been using Revive for a year now and have updated it without any issues so far.Any help is appreciated.Thanks. Edited August 23, 2015 by praveen Quote Link to comment Share on other sites More sharing options...
praveen Posted August 25, 2015 Author Report Share Posted August 25, 2015 To confuse things further,I moved the code back to the old location in Site #2 and the ad shows up perfectly fine... Quote Link to comment Share on other sites More sharing options...
YourMarkScott Posted August 29, 2015 Report Share Posted August 29, 2015 Regarding the Site #2 issue, my best guess (this happened to me) would be that there is another javascript feature on your site that is conflicting with your ad delivery.In my case, I installed a javascript/jquery weather widget to run below my ads in the right column. Ads stopped working. The problem ending up being the links to the js files needed in the header.<script src="/js/jquery-2.1.1.min.js"></script><script src="/js/jquery.flatWeatherPlugin.min.js"></script>I ended up putting the weather widget in an iframe, to eliminate any javascript conflicts, and Ads started working again.Maybe there is a jquery slider, a javascript dropdown menu or something conflicting with your ad code. Sometimes you can rearrange the order of when javascript files load on your page, it will resolve the issue. Optionally, try the iframe invocation code for Revive.Hope that helps. Quote Link to comment Share on other sites More sharing options...
praveen Posted August 30, 2015 Author Report Share Posted August 30, 2015 I checked the code 2-3 times. In terms of the order of content, nothing changed. When i moved the ad block to the top, the structure of the page including the order of the js remained the same.Infact i removed all the slider/carousel codes before making this change. But nothing showed up.The moment i moved it to the middle of the page, ads started showing. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.