I am planning to buy some space on a friends website where I want to run adsense. Now he is willing to put in my code snippet on his pages. So I have the choice of running adsense or display a few links which will help me. I plan to have the same code sometimes run adsense and sometimes display the links depending on which page it is. Now what kinda code should I use ... I understand that if i give him some javascript then google wont parse my links as they are javascript. Theres some problem if i put in an iframe .. what do u think i shud use ... I dont think i have the option of telling him to put in my perl script etc etc .. Your suggestion will be very helpful. This topic is related to adsense and so I am posting this msg in this board. Hope its ok . Thanks.
Give him adsense code with alternate url specified. Hence if you don't have any adsense ads, you will get links.
wanted to do something like this ... my friend puts in the code .. and that code will query my server and decide whether to display adsense ads or text links on that page ... something like say what google does with adsense... i understand its an iframe ..
if your doing iframes then i wouldnt do links as I dont think the search engines will spider them correctly.... could be wrong though
I would put an ssi (server side include) on his site that point to a php script on your site. Then have the php script serve up links, adsesne, or whatever else you want. That way if you want to change something you never have to get him to change anything.
Have him give you ftp access to a folder on his server. Give him the SSI code to place on his site, then place your SSI file in the folder. If you need to change something you can just FTP up a new SSI file.