February 7, 2012

How to Wrap AdSense Ads in WordPress Using HTML

Posted on 13. Jul, 2008 by in Blogging, wordpress

Text wrapped ads are great for catching your reader’s eye.  In fact, anytime someone asks me about ad placement, my first response is always, “IN THE CONTENT.”  Ideally, text wrapped to the left or right is best so here’s a quick tutorial on how to wrap AdSense ads in WordPress using html code.

There are a number of ways to wrap your articles around AdSense ads, but one of the easiest is to simply use the AdSense Deluxe plugin.  The plugin stores the ad code for you, then provides a token you can drop anywhere on your blog where you’d like the ad to be displayed.

To wrap the ad in the text of your blog post, simply use the AdSense Deluxe token within the following html snippet like so:

<div style=”display:block;float:left;margin: 17px 17px 17px 17px;”>
Your Shortcut (<!–adsense–>) or Google Adsense code goes here
</div>

To customize, simply swap  “float:left” to “float:right” to change allocation, and adjust px numbers for space padding.  As you can see, this article is wrapped around an AdSense ad using this same technique.

There you have it! Easy, fast, text wrapped ads for your blog posts.

Related posts:

  1. AdSense Image Ads or Text Ads?
  2. It's official- AdSense Video Ads
  3. How to Activate the Date Exclusion WordPress Plugin
  4. AdSense Beginners… 6 Figure Inspiration from ShoeMoney
  5. WordPress Setup Checklist

Tags: , , ,

13 Responses to “How to Wrap AdSense Ads in WordPress Using HTML”

  1. Chris James 23 August 2009 at 2:54 am #

    That’s really useful but doesn’t actually say how to do it in WordPress…

    • brilliantjeni 16 May 2010 at 8:36 pm #

      Hit that little “html” tab when you’re composing your next post in wordpress and paste. It’s that simple. :)

  2. Plaipse 21 October 2009 at 11:40 am #

    I would like to send a song, or at least the beginning of a song to my friend from my iPhone to his email address. Any apps out there or othe ways to do it?

    ________________
    unlock iphone unlock iphone 3gs desbloquear iphone simlock iphone unlock iphone 3g unlock iphone software how to unlock iphone

  3. Joslin 7 April 2010 at 4:27 am #

    Hi brilliantjeni,
    I absolutely had to leave you a message and give you an overflowing PRAISE to your post above… You would not believe the flippin wasteless hours of search that lead to “crap” descriptions on applying this technique.
    Let it be known, I am only at an embryo stage when it comes to blogging or anything to do with the internet, therefore by far am probably the furtherest from a “savvy” pc operator.
    So, I gave it a go and blow me over I managed to do exactly as suggested and damn… it blimmin worked – Go Bloody Figure!
    To anyone who may read this… let me spread the word… the author of this post “absolutely” knows what they’re talking about and should you have any hesitations at trying what is suggested… DON’T… because quite frankly if a NUT like me can do it without one hint of a swear word then I’m sure you can too!

    Many Thanks Again,
    Your a blimmin Legend!

  4. Hermes birkin bag 10 May 2010 at 8:28 am #

    Thanks for

    your sharing, it’s very useful

  5. brilliantjeni 11 May 2010 at 5:50 pm #

    Extremely delayed response Chris, but you just hit that “html” tab when writing your wordpress post and place it in there.

    Joslin, thank you for your kind words. I’m honored.
    I blog about advanced blogging strategy on RBT now, but I’m adding a section for beginners to cover the basics like this one. I’ve been blogging for years now and have been a 6 figure blogger now for over a year. This year, I will make 7 figures. I have put in so many hours, I think I have about 8 years worth of experience time-wise. All of that said, I STILL get stumped on simple things! Good thing I know how to laugh at myself right?

  6. Shiva from Web Magazine 12 July 2010 at 6:17 am #

    Thanks for such a simple tutorial for wrapping Adsense in blog posts. I did not know about the Adsense Deluxe plugin but now I will start using it
    Shiva@Web Magazine´s last blog ..CouponPress and PremiumPress Discount Coupon Code – July UPDATE-My ComLuv Profile

  7. vinyl graphics 3 August 2010 at 4:26 am #

    Yes, weighting can only be applied through the template. I’m not sure how much of a difference it will make though – you’ve already told Google what are the important parts of a page, it seems redundant to then tell it which parts to ignore.

  8. Secrets Of Affiliate marketing 21 September 2010 at 7:17 am #

    Very useful post will help me in wrapping Adsense in my blog posts.
    Secrets Of Affiliate marketing´s last blog ..Are You Prepared For Self EmploymentMy ComLuv Profile

  9. Chote Ustad 21 September 2010 at 7:18 am #

    I was searching for this code for a long time thanks for sharing.
    Chote Ustad´s last blog ..Dil Mangta HaiMy ComLuv Profile

  10. Salman from Tech Crates 27 February 2011 at 8:49 am #

    Really useful post for wrapping in adsense ads.
    Salman @ Tech Crates´s last blog ..Home Networking – Setup a Home NetworkMy ComLuv Profile

  11. Justin | AdSense Flippers 6 June 2011 at 2:20 pm #

    Do you really think it’s better to wrap the text, rather than show the content below the advertisements? Our thinking is that by not wrapping the text, you’re leaving the ads above the fold alone, leading to a higher CTR. For sites where you WANT readers on a regular basis, wrapping probably makes the most sense, though…I guess it just depends on what your goals are, eh?
    Justin | AdSense Flippers´s last blog ..Income Report – May 2011My ComLuv Profile

  12. Alex Quail 8 June 2011 at 6:20 pm #

    Thanks for this, it was very handy!!
    Alex Quail´s last blog ..quailalex- @devbasu @zunairakarim Google Places was giving me SO much grief today It supplied 3 wrong pincodes! I rang the client 6 times for nothing!My ComLuv Profile


Leave a Reply

CommentLuv Enabled

This site uses KeywordLuv. Enter YourName@YourKeywords in the Name field to take advantage.

Sign Up To Our Mailing List for 250 FREE PLR Niche Articles

Please fill the required box or you can’t comment at all. Please use kind words. Your e-mail address will not be published.

Gravatar is supported.

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by Aweber Wordpress Plugin