Hello everybody .. I'm designing my websites in different resolutions so it appears the same whatever your resolution is. Everything works fine but now I wanna add Google Adsense to my sites & they have fixed sizes. I thought may be there is a script that can switch between google ads blocks .. like 336x280 for small size monitors or 728x90 for large size ones etc... Do you know where can I find such a script or how to solve the Google Adsense size-resolution problem ?
You can get the resolution using php + javascript. if resolution beyond certain level load another add, else load an small add. If you don't get the code, ask me !
Yes, that's exactly what I have been thinking of. I would appreciate it if you can send me the code which loads the add depending on the resolution.
There maybe such a script that can switch between the sizes but alter the core adsense code at your peril it's a big no no with Google. Script sounds a neat idea but no idea where you'd start looking (other than here!) Dickie
I think google would have no problem with switching the ad units as long as you don't alter the ad unit code. Such a script is really important .. when I try to view the site in 800x600, the ads are displayed over the site content & the look is completely destroyed.