Anyone can answer this. I am not able to insert my code such that ads appear only when full post is seen like on amits blog. I dont want the ads to be seen on main page, but should be seen only when openned. Please comment and direct me to the needed source.
Thanks.
john
Inserting ads within post
(8 posts) (9 voices)-
Posted 4 years ago #
-
<b:if cond='data:blog.pageType == "item"'>
put your AdSense code here
</b:if>Posted 4 years ago # -
Thanks Rupesh - perfect solution for new Blogger XML templates
John if you are still on the classic blogger template, try putting the code inside ItemPage tags.
Insert AdSense in Blogger Templates
Another discussion here.
Posted 4 years ago # -
Thanks for the suggestions. I already have that in my posts, but they show an error message. Please check this link.
http://aurmoth.blogspot.com/2007/12/jumping-genes-new-research-finding-on.html
Thanks.
John.Posted 4 years ago # -
And how to add a adsense referral such as Firefox within the post you are writing, I wrote an article about firefox and wanted to add the adsense referral within the post, I copied and pasted the code but that code turned some other adsense on my page and not firefox with google toolbar product I wanted. Do I have to parse the code before pasting it on the post or what?
ThanksPosted 4 years ago # -
Read this : Insert AdSense Code in Blogger Templates
Posted 4 years ago # -
@Fatos,
I have checked your blog and found it to be widget based (not classic templates). So, Amit's method won't work for you. Well, I have solution for you.1)To insert ads in between Post title and body:
http://fundubytes.blogspot.com/2007/08/wrap-adsense-code-inside-blog-post.html2)To insert(target) referral ads within blog post (read Tip #4):
http://fundubytes.blogspot.com/2007/11/tips-tricks-to-earn-more-through.htmlif you find them useful spread the words.
Posted 4 years ago # -
I still have probs on this one. This is my code. Please let me know where I am doing a mistake. I am not able to see ads at the end of the post when I clik on individual post. Appreciate ur comment. Happy new year in advance to all.
</b:if>
<div class='post-header-line-1'/>
<div class='post-body'>
<p><data:post.body/></p>
<b:if cond='data:blog.pageType == "item"'>
<script type='text/javascript'>
<!--google_ad_client = "pub-xxxxxxxxxxxxxxx";
//250x250, created 12/3/07
google_ad_slot = "xxxxxxxx";
google_ad_width = 250;
google_ad_height = 250;//--></script>
<script src='http://pagead2.googlesyndication.com/pagead/show_ads.js' type='text/javascript'>
</script>
</b:if>Posted 4 years ago # -
u can post ur adsense code within post by making a slight change....which actually is againgst google policies i believ...but many bloggers not followin it...
also if anyone can tell me how to insert adsense code without modyfing between post....will be thankful...
Posted 4 years ago # -
If you want an easy tool to convert your ad code into a Blogger format you should try this out:
http://www.eblogtemplates.com/blogger-ad-code-converter/
It replaces all the characters Blogger gives you an error message for.
Posted 3 years ago # -
You can also put your adsense in the middle of the post.
Read here
http://djyano.blogspot.com/2008/03/put-your-adsense-in-middle-of-post.html
Posted 3 years ago # -
Well all thats for Blogger what about for Wordpress
my blog is http://belgaumblog.comI use a 3 column template there How can i insert text ads within posts.
Posted 3 years ago # -
i have visit your blog.you blog have high PR.well done.
Posted 3 years ago #
Reply
You must log in to post.