الجمعة، 30 سبتمبر 2011

How to Add Adsense ads inside Blogger blog posts or between blog posts

Posted by islam ibrahim 5:27 م, under | No comments

How to place adsense ads inside Blogger blog Posts:

1.Sign in to your blogger dashboard>layout>Edit html

Check the box next to 'Expand Widget Templates'

2.Scroll down the window till you see this code

<b:if cond='data:post.includeAd'> <data:adEnd/> <data:adCode/> <data:adStart/> </b:if>

3.Replace that code in the template with the below code

<b:if cond='data:blog.pageType != "item"'> <b:if cond='data:post.includeAd'> <data:adEnd/> <data:adCode/> <data:adStart/> </b:if> </b:if>

4.Again,scroll down the template and find out data-post body tag and paste the below code just above that code{this will show ads above the post body.If you want ads to show below the post,paste the code below that tag.

Here is the code to paste:-

<b:if cond='data:blog.pageType == "item"'> <b:if cond='data:post.includeAd'> <data:adEnd/> <data:adCode/> <data:adStart/> </b:if> </b:if>

That's it!


How to place adsense ads between Blog posts

1.Sign in to your blogger dashboard>click on the layout link

2.Click on the Edit link in the "Blog Posts' column
..............a pop up window opens..........

3.Check the box next to 'Show ads between Posts'

next,configure the ads,choose the format,colours,etc and SAVE THE CHANGES.
That's it! Now your adsense ads will show between blog posts.
http://bit.ly/4w36zA

0 التعليقات:

إرسال تعليق