Hi, sorry if this is the wrong place but it concerns both Google and web design. I've put the script which Adsense generates onto my homepage at www.patwanet.co.uk but as you can see it's just one add and it's taking up rather a lot of space. I've chosen the small rectangle but I was wondering how can I get say three ads going across the screen in a thin banner such as you get on other sites? I have the main script as an include, and then have the second script (the one with the syndication.google.com/showads.js" (or similar) link) - do I just replicate this link for each ad, so put a table with three cells and that link in each cell to get my three ads? Source code is open to anyone who wants it. Thanks. H.
You just login to your adsense and then get the code for the banner you want, after that just replace the code that is already there with it.
Thanks. I did that, and I noticed that the code was two scripts. The main script with all the parameter, and then a second script at the bottom with a link to a script hosted at google. I didn't want to clutter the page with all that code, so i created an include to the first script, but I didn't know how to combine the two so I put the second as a link (which you can see in the source). Now all I get is one add, do I have to replicate that link to the showads.js on Google's end for each add I want to show? Or do I have to replicate the whole code with the parameters for each add I want to show - that would be a lot of code replication for the same parameters. H.
I don't think there is any need to have an external file for the ads because to everything it is still going to be viewed as if it were in the page anyway.