Forum Moderators: martinibuster

Message Too Old, No Replies

Adsense technical

Technical details about adsense

         

Moglex

10:22 am on Feb 6, 2006 (gmt 0)

10+ Year Member



I'm looking into setting up a site, and a few months down the road, when the content is polished (and assuming I get visitors), I'd like to use Adsense to pay for the hosting and maybe employ someone part time to help keep the site up to date.

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)?

stardoc

11:04 am on Feb 6, 2006 (gmt 0)

10+ Year Member



Welcome to WebmasterWorld moglex!

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.

milanmk

11:21 am on Feb 6, 2006 (gmt 0)

10+ Year Member



Actually you just dont need any technical details for placing AdSense on your site. You just have to paste the JavaScript code to your site pages and all the rest of the things are been taken care by Google i.e. which ads to be shown and all that stuff.

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.