Pages

Domain Auctions at GoDaddy.com

Tuesday, June 22, 2010

INSERTING ADSENSE AD CODE INTO BLOG TEMPLATE

In my insert adsense code in posts you can learn to insert adsense ad code within your posts and can be placed anywhere in the post.

In this post you will learn how to display adsense ads in your post at a fixed position.

Generate the required adsense for content code with dimensions,background and text colors in mind,so as to match your blog page.Go for text ads.

Also make sure that only two ads are displayed in your blog page.These two and the one into your post will add to three ads, which is the maximum google allows per page.

To place the add just below the title of the post:
Go to dashboard of your blog and click design (i am using Beta Blogger Template Designer)and click 'Edit HTML' and put a tick mark to 'expand widget template'.


Now paste your adsense ad code(You have to parse the code:to parse go to Parse) in between the code given below.
                                            <div class='post-body entry-content'>
                                                         <data:post-body/>
Save template.

RaghuNatrajan

Monday, June 21, 2010

Insert adsense ad code in your blog posts

I am using Beta Blogger Template Designer for my blog.[ZYS7VZWMB3NK]
First of all make sure that only 2 adsense ads are displayed in your blog page.With these 2 ads and 1 in your post will add up to 3 ads in your blog page.
Google allows only 3 ads per page.
Now generate the required adsense for content ad code.Make sure about your dimensions, the background and text colors, to match your blog’s background color. Text ads goes well while inserting them into your posts.


Now go to your dashboard and click new post for your blog.Create your post in compose tab.
Switch over to Edit HTML tab ,for the same post, and insert(by copy and paste) the adsense ad code where ever you want the add to display. After pasting the code just add:
                                                        <div align='left'>
                                                                  </div>
The first line above the adsense ad code and the second line below the adsense ad code.If you want the ad in the left side specify 'left' in the first line in the above code. Likewise specify 'center' or 'right'.Now publish


Raghu Natrajan


UPDATE:25/08/2010.
You can also add the adsense code in much easier way-
Go to blogger->settings->formating and post template found below the page.
 Here you paste your adsense code with the alignment code given in this post.

After pasting this code, if you go to New post , you will find the code already in the 
Edit HTML window in the first line.If you want to add text above this code[that is if 
you want the add to display after text] start typing your matter from the first line in 
compose mode.[If you want the ad to display above the text]In the EDIT HTML
window place your cursor below the code and enter, now go to compose window to type
your text.Now the text will start below the ad display. So you can place the ad anywhere 
you like. Try and enjoy.