Industry guru Dave Taylor answers free tech support questions about a wide variety of business and technical topics, including blogging, Google AdSense, MySpace, Sony PSP, Apple iPod, Mp3 players, management, Linux, SEO, Mac OS X, Facebook, Twitter, LinkedIn and Microsoft Windows.

How do I move my Google AdSense Ads in the middle of my Page?

I liked very much your article on how to improve click thru on Google Ads in your article Double your AdSense PPC Click-Through Rate, but my problem is how do I integrate the Google ads in the middle of the article instead of the end? I suspect a code tweak of sorts is needed. On my blog I have the Google ads at the bottom, but perhaps they should be in the middle somewhere. I use WordPress and the Kubrick CSS template for my blog.

Dave's Answer:

Thanks for your kind note. Yes, it took me a while to figure out how to have the Google AdSense advertising appear in the middle of my Weblog entries rather than at the end, and the clue on how this is accomplished is that if you poke around on the home page, category pages and search results page, you'll see that only the questions are displayed, you have to click onto the individual article page to get the answer.

I don't know WordPress very well, but Movable Type splits up Weblog entries into three blocks, the Entry Body, the Extended Entry and the Excerpt.

The Entry Body is where I enter the question, and the answer is specified as being the Extended Entry of the article. If I had a custom RSS feed or wanted to have different information in the feed than in the article, I'd enter that into the Excerpt box: leaving it blank means that MT does its own thing when generating information for the feed instead.

Now, with the Q&A format split neatly into two sections, it's just a matter of including the Google AdSense code between the two, and that's done within the actual MT Individual Entry template itself.

That should be enough to get you traveling down this path if you're so inclined. You can move the AdSense JavaScript-built code block to one side or the other by using either CSS (use "float:left" or "float:right") or by wrapping the code in a TABLE that has <table align="left"> or similar.



Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Simpy.

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments

Dave - I actually found a plugin for Wordpress that will insert the Adsense code, I've blogged about it, so people can find the solution there.

Posted by: Jim Williams at February 12, 2005 4:46 PM

Thanks, it really helps. I used Wordpress and sometimes I found the Google ads placed in the wrong area. The most annoying happened when it went into a table, make the column went as wide as the table.
I hope it won't happen again.

Posted by: Erwin Kodiat at September 28, 2005 6:09 PM

Oops, it happened again! I added float: left but the ads went somewhere in the table column

Posted by: Erwin Kodiat at September 28, 2005 7:13 PM

This site was very helpful. I was able to just paste the Google adsense script code into the Master Index Temple html right before the "" tag and it now inserts the adsense advert after each blog entry on the main index.html page. This worked perfect for my default MT template.

Posted by: werdmodo at January 10, 2006 6:43 PM

Thanks for the post, I searched high and low for this.

Posted by: Benoit at April 21, 2006 2:21 PM

I have a lot to say, but ...
Starbucks coffee cup I have a lot to say, and questions of my own for that matter, but most of all I'd like to say thank you for all your efforts on this Web site by buying you a chai!

I do have a comment, now that you mention it!









Remember personal info?


Please note that I will never send you any unsolicited commercial email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.









Uniblue: Free Virus Scan

Search
Find just the answers you seek from among our 1700+ free tech support articles by using our Lijit search engine.


Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Join the List!
Join my author info mailing list, where you'll learn about my upcoming books, speaking gigs, and more!


Book Links
© 2002 - 2008 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]