Hi, Im i allowed to change the weidth and height off my adsense in the code ? Like google_ad_width = 728; google_ad_height = 90; Becuse off on one off my sites is a space at around 200 width that is missing Thanks
Yes it is allowed to change it but if you change the size to something different than the channel default, you must add an extra line: google_ad_format = "728x90_as"; So finally it will look like: google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; (the ad_width and ad_height must be the same with what you define at the ad_format) If you don't add this extra line the ads will not be displayed correctly because the iframe size will be different from the ads size.
Would this work or am i wrong ? Tryed this but no change google_ad_width = 728; google_ad_height = 90; google_ad_format = "928x90_as"; Thanks for the reply
But then the adsense will be the same size as before :/ I wante to make it more wider becuse on my site its missing like 200px at the weidth
It's against the Adsense terms to alter the code, and they explicitly say you are not allowed to change the dimensions of the ads. https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=9997
Do not alter the code given by google. You can always have changed code by clicking managa_ads in your adsense account
oh It is allowed by the TOS to change the dimensions of the ads, since you use one of the supported dimensions. I thought he wanted to change the size to 728x90 which is one of the standard options. But 928x90 is not one of them so he can't use it. He will not be banned, but simply the ads will not be displayed at this size, they will be reverted to the default for this channel or (if not in a channel) to 468x60.
Got it. I think it's better to select your ad size from within your Adsense account rather than changing the code. That way you know the size is allowed.