Forum Moderators: martinibuster
However, I'm writing the server software myself (yes, I've done this before), but I cannot find any technical information about how adsense is actually placed on a site. I was not intending to use Java, but have seen this mentioned as a plus point with adsense "all you have to do is insert some java code". I don't want to code myself into a corner.
Can anyone give me an idea as to where I can find out the technical details about adding adsense to a site (I couldn't find it on the google site, but they are surprisingly coy about some of the adsense details)?
Adsense won't require any special settings on your server. It can run on any server which can output html code.
I assume you are confusing java with javascript. Adsense code is in java script and the snippets of the code can be seen in the source of any webpage running adsense.
There are many ways of placing AdSense code to your pages.
1). Using JavaScript - Copy your code to external js file and add reference to it from all the pages where you would like to use AdSense.
2). Using SSI - Calling Perl script from your pages which in return will add the AdSense code to the calling page.
3). Using PHP - Can add an include file which will do the trick same as SSI.