homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

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

Google AdSense Forum

code placement for max ad relevance
G says do it this way... but I don't like it

 10:09 pm on Dec 16, 2011 (gmt 0)

I read recently in an AdSense blog or email (sorry, can't remember exactly) that ad relevance is increased when the AS code is placed near the top of your html <body> block. In fact they, recommended that it be the first code entry in <body>.

I have always wanted search bots to see my most important topic content first, usually leading off with an <h> tag. I always thought this was best practice for search indexing.

Conversely, I have coded my AS blocks as the last item in my code, assigning it visually with absolute attribs. This decision was based on the fact that AS code is of no importance to search indexing.

Do you think I was right? Or is the AS recommendation a good one? Does it set up a trade for more ad relavancy at the cost of some search index quality? How do you code your AS blocks?



 5:21 am on Dec 21, 2011 (gmt 0)

The place of the AdSense code in your source does not matter to AdSense.
They recommend that you put the Ads near the top of your page for maximum visibility and performance but that is your choice as well.


 10:38 am on Dec 21, 2011 (gmt 0)

All with <DIV


Most important, that the user can see the content as quick as possible, so javascript is loaded at the end of the page.


 2:35 pm on Dec 21, 2011 (gmt 0)

dastarbug: I think you misunderstood my point. I am not referring to the visual appearance of any AS unit.

The place of the AdSense code in your source does not matter to AdSense.
Says who? Thats not what AdSense said last week.

 2:51 pm on Dec 21, 2011 (gmt 0)

can you give a link as reference?
It does not matter at all where you place the AdSense code.
The only thing that is "important" is the sequence in which you place your ad code because the first unit will be filled first.
For years before they made them somewhat asynchronous I placed my AdSense ad unit codes at the bottom and positioned them via CSS.


 1:30 pm on Dec 23, 2011 (gmt 0)

The hot zone for adsense, according to their charts, is exactly where the spam team may give you an unfavorable rating upon human review.


 7:37 pm on Dec 24, 2011 (gmt 0)

You can use these in your code for the self-evident effect:

<!-- google_ad_section_start(weight=ignore) -->
<!-- google_ad_section_end(weight=ignore) -->

AdSense will also give massive weight to the tags/keywords in any YouTube video you have on the page.

Good luck.

azn romeo 4u

 8:49 pm on Dec 24, 2011 (gmt 0)

I would not put the adsense code at the top of the document. Since bots will read it from the top down. And if you haven't been following this might have an effect on your rankings. Even though they say too much ads above the fold is bad, I also think too much ads at the top of your source code is bad.

I put my ads at the bottom and they seem relevant enough. All the way at the bottom. This also lets my website load before the ad code.

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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved