Blogger now offers option to show Google Adsense ads after post title, inside the post or after the post. But what if you don't have an Adsense account or you get banned by Google, how can you engage in this kind of ad placement and be like those who have an Adsense account?
Here's the trick:
1. Go to your Blogger account.
2. Select the blog you want to remove the gaps. Go to its Template, then Edit HTML, select Proceed, and tick the Expand Widget Template.
3. Press Ctrl+A and Ctrl+C in your keyboard. This will copy the codes of your template.
4. Open Notepad in your desktop and paste the codes there. This will
serve as your back-up for your codes in case the editing will fail (but
it usually don't).
5. Open another Notepad and paste the codes again. This is where you'll edit the your template codes.
6. Search for <data:post.body/> in your codes. You can do this by pressing Ctrl+F and pasting <data:post.body/> in the
Find what bar. If it says "Cannot Find <data:post.body/>", press OK and
choose the direction to UP.
7. Now, copy the ad code (from Clicksor, Chitika, Adbrite, Smowtion, or Lijit, other non-Adsense) that you want to place either after the Post Title or at the Post Footer. Go to Centricle.com and paste your ad code in the form provided in there and click Encode. This will parse the ad code for it to be readable in your template.
8. Copy the encoded/parsed code and paste it above the <data:post.body/> of your blog template if you want it to appear after the Post Title. Paste it below the <data:post.body/> if you want it to appear at the Post Footer.
9. Copy-Paste all the template codes from your Notepad to the Blogger Template window and click Save Template. Go to a particular post in your blog and you can now see the ads inside your post. You will no longer need for added page element in your blog just to show the ads.
Troubleshooting:
If you have four <data:post.body/> in your template, you should paste your code in the second and third <data:post.body/>.
If you paste it only in the second <data:post.body/>, your ads will only show in those post found in the homepage.
If you paste it only in the third <data:post.body/>,
your ads will only show in those posts not found in the homepage.
If you don't want the ads to be showing in the homepage post (ads will just show in the Post Page), you will need to add:
<b:if cond='data:blog.pageType == "item"'>before pasting the code above or below <data:post.body/>.
YOUR encoded/parsed CODE Here
</b:if>
Here's what the code will look like after editing:
<b:if cond='data:blog.pageType == "item"'>Drop me a comment below if you have questions or trouble implementing the codes.
/* start of your parsed code for ads after Title */
<div style="text-align:center;">
<script src="http://tag.contextweb.com/TagPublish/getjs.aspx?action=VIEWAD&cwrun=200&cwadformat=300X250&cwpid=550982&cwwidth=300&cwheight=250&cwpnet=1&cwtagid=141417"></script></div>
/* end of your parsed code for ads after Title */
</b:if>
<data:post.body/>
<b:if cond='data:blog.pageType == "item"'>
/* start of your parsed code for ads at Footer */
<script type="text/javascript">
//default banner house ad url
clicksor_default_url = '';
clicksor_banner_border = '#f9f9f9'; clicksor_banner_ad_bg = '#FFFFFF';
clicksor_banner_link_color = '#00913a'; clicksor_banner_text_color = '#220048';
clicksor_banner_image_banner = true; clicksor_banner_text_banner = true;
clicksor_layer_border_color = '#f9f9f9';
clicksor_layer_ad_bg = '#FFFFFF'; clicksor_layer_ad_link_color = '#00913a';
clicksor_layer_ad_text_color = '#220048'; clicksor_text_link_bg = '';
clicksor_text_link_color = ''; clicksor_enable_text_link = false;
clicksor_layer_banner = false;
</script>
<script type="text/javascript" src="http://ads.clicksor.com/newServing/showAd.php?nid=1&amp;pid=278259&amp;adtype=2&amp;sid=452162"></script>
<noscript><a href="http://www.yesadvertising.com">affiliate marketing</a></noscript> /* end of your parsed code for ads at Footer */
</b:if>
Don't forget to like and share this post.
Glad to hear that your problem was solved. Enjoy blogging!
ReplyDeleteEuan, I followed the process above but I could net the ads to show up. I even converted the code to format that blogger needed.
ReplyDeleteI found 3 instances of , in the TEMPLATE and pasted my code in all 3 places above as well as below , in the hope to get the ads to show up someplace. I even copied your ad-code and pasted it in all 6 areas of my blog template (3 above and 3 below) but no luck . I also used the <b:if at start and end in all instances. Any ideas on what I could be doing wrong
What kind of template are you using?
DeleteCan you try finding this: