For Google Adsense Publishers : Random Ads Position Script
- SEO |
I would like to share this simple script. With this script you can show up your Google Adsense ads or any other ads randomly : float left or float right around the article..
Hope this will be useful..
Google Adsense Random Ads Position or Placement Code :
<SCRIPT type="text/javascript">
// begin BloggerCeria GA Trik
var jumlah_iklan = 2;
var waktu_sekarang = new Date()
var detik = waktu_sekarang.getSeconds()
var pasang_iklan = detik % jumlah_iklan;
pasang_iklan +=1;
if (pasang_iklan==1) {
alg="float: left; margin-left: 3px; margin-right: 5px;";
}
if (pasang_iklan==2) {
alg="float: right; margin-left: 5px; margin-right: 3px;";
}
document.write('<div style=\"' + alg + '\">');
// End -->
</SCRIPT>
INSERT YOUR GOOGLE ADSENSE CODE OR OTHER ADS SCRIPT HERE
<SCRIPT type="text/javascript">
document.write('</div>');
</SCRIPT> 
Some screenshot :

Refresh (F5) the page, the ads will be move the the left..

If I did something wrong or open this thread at the wrong place please forgive me. Just want to share. Thanks!
If you were disappointed in your results today, lower your standards tomorrow.