+321 123 4567
info@test.com
  • Home
  • My Services
    • Web Design
    • Web Development
    • Technical Writing
  • Portfolio
  • My Thoughts
  • Free Tools
    • Photo Editor
    • Avatar Generator
    • Email Migration Tool
    • QR Code Generator
    • RSS to HTML Converter
    • IP Address Geolocation
    • Base64 Image Encoder
    • NATO Translator
    • All Tools
  • Contact
Home
Blogger
Inserting Adsense Unit Inside Blogger Post Body

Inserting Adsense Unit Inside Blogger Post Body

Wale Adekile
August 21, 2011

Your adsense earnings has a lot to do with placement of ads among other things. Placing ads in certain positions such as under post title gives you a better click through rate and increased adsense earnings. One of the most effective practices is placing your adsense unit inside blog post, wrapping your text around it, preferably a 300 X 250 medium rectangle ad unit or a 336 x 280 large rectangle ad unit. Your ads will appear in your blog post as the image appearing on the left side of this blog post. Unlike wordpress blogs with different plugins to make things like this easy, there are certain steps you have to take to make this work on your blogspot site. This post explains how to place adsense unit inside blog posts and the steps are quite simple.


1. Log in to your adsense account and create the adsense unit you intent to use. I would recommend 300 X 250 medium rectangle ad unit or a 336 x 280 large rectangle ad unit.

2. Copy the generated code and paste it in the box below to parse it.

3. Click on Convert and copy the parsed adsense code.


4. Login to your blogger account and go to Design > Edit HTML

5. Back up your template by clicking Download full template before proceeding. You can easily restore your original template in case something goes wrong.

6. Check Expand widget template

7. Press CTRL + F and search for this code:


<data:post.body/>

8. Right above that, paste this code:


<b:if cond="data:blog.pageType == &quot;item&quot;">
<div style="float: left; padding: 5px; margin: 5px;">

PARSED ADSENSE CODE

</div>
</b:if>


9. Be sure to replace PARSED ADSENSE CODE with your adsense code you parsed earlier.

This makes the ad appear under post title with your blog post wrapped around it. You should however know that this adsense unit will not appear on static pages such as homepage, archive and label pages. If you intend to show the ads on the static pages, simply remove the first and last line of the code.

Also, I won’t advice you to use this tweak if you have blog posts starting with images. This will place the images right beside your blog posts which is strictly against google adsense terms of service.

If you intend to place the ad unit under post title without wrapping you post body round it, click here


Previous Post
How To Fight Content Thieves
Next Post
Hack Symbian Phones ( S60V3, S60V5, ^3 and Anna ) Without Cert And Key
Wale Adekile
Husband to the world's most beautiful woman and father to two awesome kids. A nerd, obviously; also, a technical business analyst, a web designer who preaches the gospel of WordPress, and a writer. You can check out my published books on Amazon.
media.net, google adsense alternative
Google Adsense

Using Media.net as an Alternative to Google Adsense

12 years ago
Google Adsense

Google Adsense Approval Trick Through Third Party Sites?

14 years ago

Recent Articles

wahl rapic clip hair clipper
Wahl Rapid Clip Hair Clipper Review: DIY Made Easy
BenQ LaptopBar Review: Luxury or Necessity?
yunmai easepro unboxed
Yunmai EasePro Massage Gun Review
g20
Teendow G20 Robot Vacuum and Mop Review
bathroom
Dear Men, Spraying All Over the Toilet Seat is Disgusting and Irresponsible
winx mediatrans
How to Transfer Photos from iPhone to Computer Without iTunes
google workspace
How to Migrate Emails From Google Workspace/G Suite to cPanel
synology diskstation ds920+
Synology DiskStation DS920+ Review
playstation 4
Why I haven’t Upgraded to the PlayStation 5 Yet
pain
Started Watching Anime as an Adult? You’re Not Alone

All contents on this blog are copyright protected and cannot be reproduced on other websites without permission.

Copyright © 2022 – NerdieDad | Home | Contact | About | Privacy Policy