Call: (209) 560-6611

Add Google AdSense to Tumblr

Date: June 9, 2012 Author: ang Category: Affordable Web Design Tutorials Tags: , Comments: 0

You can add Google AdSense to your Tumblr website. To complete this tutorial you will need an AdSense account and a Tumblr account. Don't use AdSense on Tumblr sites that don't have a custom domain name or  Google won't let your ad clicks count as profit. Here is a Tumblr theme specifically designed for use with AdSense.

Create an AdSense ad to use on your Tumblr website blog

  1. Log into your AdSense account.
  2. Click on the 'My Ads' tab at the top of the screen.
  3. Click the '+New ad unit' button.
  4. Type in a name for your add in the 'Name' field.
  5. Select your 'Ad size' as '250 x 250 Banner' ad size.
  6. Select 'Image/rich media ads only' from the 'Ad type' drop-down menu.
  7. Click the 'Save and get code' button. The code for your ad will popup.
  8. Copy the code for your ad and save it in a notepad on your computer.
  9. Ad this code above your ad code in your notepad.
     HTML |  copy code |? 
    1
    <!-- adsense banner1 start --><div style="position:absolute; left: 220px; top: 7px; height:250px; width:250px;background-color:blue;">
  10. Ad this code below your ad code in your notepad.
     HTML |  copy code |? 
    1
    </div><!-- adsense banner2 end -->
  11. Save your modified ad code snippet.

Ad AdSense code snippet to Tumblr

  1. Log into your Tumblr account.
  2. Click the 'Preferences' icon.
  3. Click the 'Customize your blog' button.
  4. Click the 'Edit HTML' button.
  5. Scroll down your source code till you reach the body tag.
  6. Paste (Ctrl+v) your modified AdSense code right after your beginning body tag.Like this:
  7. Click the 'Update Preview' button. and the add will appear on your site. It may take five to 20 minutes for the AdSense add to actually appear, until then, the ad space will appear as a blue box.
  8. Position the ad box on your Tumblr page by modifying the 'left 220px:' and 'top: 7px;' portion of your AdSense ad code.
  9. You can add up to 3 ads this, by duplicating the ad code within your Tumblr source code. Make sure to change the positioning of multiple ads so they don't overlap.

Official Google Code implementation guide.

Leave a Reply

Your email address will not be published. Required fields are marked *

Before you post, please prove you are sentient.

What is 8 times 2?

Before you post, please prove you are sentient.

what is 2 + 7?