Usually we put adsense (example: google ads) on the left or right sidebar, bottom or middle. This tutorial how to put ads in the middle of the posts/article.
But be careful this trick may be violates TOS (term of service, please consider to apply this trick because it could banned by google.
Here are the steps:
1. Log into your blogger account.
2. Click Settings -> Formatting
3. On the Formatting tab at the bottom looking for a "Convert Line Breaks". Please set to "NO".
4. Click Save button
5. create the new post. Put google ads code in the middle post:
<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxx";
google_ad_slot = "xxxxxxx";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
6. Delete the red code, so the code look like this
<script type="text/javascript">
google_ad_client = "pub-xxxxxxxxx";
google_ad_slot = "xxxxxxx";
google_ad_width = 728;
google_ad_height = 90;
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
7. Publish post
0 comments:
Post a Comment