Showing posts with label insert. Show all posts
Showing posts with label insert. Show all posts

Monday, 31 December 2007

Google Adsense in Blogger, and inline too

I have an article telling how to insert Google ad in blogger's post which involvels template change and my transform module. I have just discovered that there's a much more easy way to do this. What a pity I haven't seen it comming sooner.

Here's all you need to do:
  1. Log into your Blogger account at http://www.blogger.com .
  2. Visit your blog's Template tab and click on the Page Elements link.
  3. Click Edit in the Blog Posts section.


  4. Check the box next to Show Ads Between Posts. You can then select how often you'd like your ads to appear, such as once after every post or once after every other post.


  5. Customize the ads and click on Save Changes when you're done.
Please note that right now, it's only possible to insert Google ads using this widget, and not AdSense for search boxes or referral units.

For more detailed instructions, please visit Blogger's Help Center. Lastly, don't forget to check out our blog optimization tips for ways to improve your ad performance.

Easy huh? Link to this post to let your friends know. Happy new year! :)

Sunday, 9 December 2007

How to Insert Google Ads in Blogger's Posts?

Inserting Adsense code into your post body helps you to increase your benefits from google Adsense and have higher (Click through rate).


Parse Your AdSense Code


Parse means making the Adsense code standarded XML and that is made by replacing all the html character such as ’<’ with ’>’ and ’"’ with ’"’. For example:



<script type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXXXXX";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

would be
<script type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXXXXX";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

You can use your text editor to replace all the HTML, but there is an easier free method to parse AdSense Code here, it takes care of everything for you ;) (Yeah, I made this tool myself)


Now with the code you can paste it anywhere in your HTML code with no error at all.


Where to paste the parsed HTML code?

Expand your blog’s widget first and find the code below,then add your parsed code and save the template :


1)Next To The Post :

[Image]








<div style="float:left;">
<!--parsed Adsense code-->
</div>

 


<div class=’post-body’>
<p><data:post.body/></p>
<div style=’clear: both;’/> <!-- clear for photos floats -->
</div>

2)After Post Before Credits:

ad3




<div class=’post-body’>
<p><data:post.body/></p>
<div style=’clear: both;’/> <!-- clear for photos floats -->
</div><div><!--parsed Adsense code--></div><div class=’post-footer’>
<p class=’post-footer-line post-footer-line-1’>
<span class=’post-author’>
<b:if cond=’data:top.showAuthor’>
<data:top.authorLabel/> <data:post.author/>

3)After Credits

ad2




<p class=’post-footer-line post-footer-line-3’/><div><!--parsed Adsense code--></div>
</div>
</div>
</b:includable>
</b:widget>
</b:section>




May this method violate Google Adsense TOS ?

Absolutely no,Minor edits on Google Adsense Code for Blogger Beta/XML are allowed as long as the resulting Adsense Code generated by Blogger is exactly the same as given from Google Adsense.

Showing posts with label insert. Show all posts
Showing posts with label insert. Show all posts

Monday, 31 December 2007

Google Adsense in Blogger, and inline too

I have an article telling how to insert Google ad in blogger's post which involvels template change and my transform module. I have just discovered that there's a much more easy way to do this. What a pity I haven't seen it comming sooner.

Here's all you need to do:
  1. Log into your Blogger account at http://www.blogger.com .
  2. Visit your blog's Template tab and click on the Page Elements link.
  3. Click Edit in the Blog Posts section.


  4. Check the box next to Show Ads Between Posts. You can then select how often you'd like your ads to appear, such as once after every post or once after every other post.


  5. Customize the ads and click on Save Changes when you're done.
Please note that right now, it's only possible to insert Google ads using this widget, and not AdSense for search boxes or referral units.

For more detailed instructions, please visit Blogger's Help Center. Lastly, don't forget to check out our blog optimization tips for ways to improve your ad performance.

Easy huh? Link to this post to let your friends know. Happy new year! :)

Sunday, 9 December 2007

How to Insert Google Ads in Blogger's Posts?

Inserting Adsense code into your post body helps you to increase your benefits from google Adsense and have higher (Click through rate).


Parse Your AdSense Code


Parse means making the Adsense code standarded XML and that is made by replacing all the html character such as ’<’ with ’>’ and ’"’ with ’"’. For example:



<script type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXXXXX";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

would be
<script type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXXXXX";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

You can use your text editor to replace all the HTML, but there is an easier free method to parse AdSense Code here, it takes care of everything for you ;) (Yeah, I made this tool myself)


Now with the code you can paste it anywhere in your HTML code with no error at all.


Where to paste the parsed HTML code?

Expand your blog’s widget first and find the code below,then add your parsed code and save the template :


1)Next To The Post :

[Image]








<div style="float:left;">
<!--parsed Adsense code-->
</div>

 


<div class=’post-body’>
<p><data:post.body/></p>
<div style=’clear: both;’/> <!-- clear for photos floats -->
</div>

2)After Post Before Credits:

ad3




<div class=’post-body’>
<p><data:post.body/></p>
<div style=’clear: both;’/> <!-- clear for photos floats -->
</div><div><!--parsed Adsense code--></div><div class=’post-footer’>
<p class=’post-footer-line post-footer-line-1’>
<span class=’post-author’>
<b:if cond=’data:top.showAuthor’>
<data:top.authorLabel/> <data:post.author/>

3)After Credits

ad2




<p class=’post-footer-line post-footer-line-3’/><div><!--parsed Adsense code--></div>
</div>
</div>
</b:includable>
</b:widget>
</b:section>




May this method violate Google Adsense TOS ?

Absolutely no,Minor edits on Google Adsense Code for Blogger Beta/XML are allowed as long as the resulting Adsense Code generated by Blogger is exactly the same as given from Google Adsense.

Money making search

Google Custom Search