I used the following function in my php file <?php include ads1.php ?> <?php include ads2.php ?> <?php include ads3.php ?> Every page I have puted those 3 functions. and in ads.php I just put only google adsense code. Every ads php contain seperate ads channel. My site works fine. But the problem is that every page shows 1 ads only. How can I solve it?
This is quite normal for new sites. You need to wait a little while before AdSense starts showing all 3 sets of ads. Visit your own pages 2 or 3 times per day until the ads begin to show. (Don't click on the ads, of cours). Hope that helps... Cryo.
A way to have more ads shown is to increase the amount of content you have on your pages. There is nothing wrong with your PHP but I would use the following. <?php include('ads1.php'); ?> <?php include('ads2.php'); ?> <?php include('ads3.php'); ?>
Thanks for your coments But I'm waiting everyday to see the three sets of ads. But there is only 1 search content & 1 ads. Please see my site - http://www.all-free-hosting.tk Waiting for your comments
KingCobra - I can't access your robots.txt file. If search bots can't read this file, then they may not crawl your site (AdSense included). Create an empty file call robots.txt, and upload it to your website. Then make sure that you can view it in your browser. Cryo.
Put it in the same directory as your top-level index, so that it appears at the following URL: - http://all-free-hosting.freehostia.com/robots.txt.
it should be in the root folder of your site:all-free-hosting.tk/robots.txt its the same folder that contains your index.php file
More recently, Google uses a proxy to cache pages, therefore it may be possible that the cache has a previous version of that page, with none or almost no content and Adsense has nothing to show. This happens with http://www.3gvideodownloads.com , you should see no ads because Google crawled the page when all the content on the site was "coming soon...". However, if you go to http://3gvideodownloads.com (no www), ads appear. (FYI the text is scraped from Wikipedia, it's just something to show while I work on the site) Regarding robots.txt : If file does not exist, bots assume everything can be crawled. If file exists, crawlers read it and look for instructions in it about what NOT to scan.
I opened a blank text file and saved it as "robots.txt" . And then uploaded it to my server. Now the url is look like http://all-free-hosting.freehostia.com/robots.txt. Is it ok? Please check it.