homepage Welcome to WebmasterWorld Guest from 54.196.69.189
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Google / Google AdSense
Forum Library, Charter, Moderators: incrediBILL & jatar k & martinibuster

Google AdSense Forum

    
Adsense Code Should Be Inside of a Div?
blue_oceans




msg:3162677
 5:34 pm on Nov 20, 2006 (gmt 0)

Should the adsense code be placed inside a div? Or, is it alright to just post it into the page as-is?

Thanks!

Kate

 

celgins




msg:3162682
 5:40 pm on Nov 20, 2006 (gmt 0)

The Adsense code can be placed in your HTML code as-is. Any styling that needs to be done to the actual ad can be done through the Adsense Setup interface.

BushMackel




msg:3163323
 3:33 am on Nov 21, 2006 (gmt 0)

Lots of people choose to put ads on their site by first having a div as a placeholder in the normal span of the page, and then having another div later containing the AdSense code positioned where the original div was. The thinking there is to make sure the content comes up as easily as possible when a search engine reads the page and not get tangled up in extra details.

i.e.

<body>
<div id = "main_ad_container"></div>
blah blah
<div id = "main_ad_content">
<!-- adsense code -->
</div>
</body>

Imagine though that "blah blah" has a lot more to it and again, div "main_ad_content"> is positioned through css to appear where the original div is/was. I'm not sure if this method improves rankings or whatnot though.

enil




msg:3163369
 4:44 am on Nov 21, 2006 (gmt 0)

you can put that code in any tag..

no worry about it...

just worry about ... you can not change that code manually...
anything else you can do with adsense code

ann




msg:3163831
 3:55 pm on Nov 21, 2006 (gmt 0)

Putting your most important ad code in a div will encourage the placement of the higher paying ads to it since it gives more importance to that ad block as being first even though it may be at the bottom of the page.

Ann

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google AdSense
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved