Refer more articles on SEO series here:
http://mylearningcafe.blogspot.in/2015/04/search-engine-optimization-seo-series.html
What is adsense?
Adsense is Google's content-targetted advertising program.
One can make money by enabling Adsense on their blog. Relevant ads will be shown on your blog (once approved).
Follow steps below on getting adsense (on blogger):
1. Apply for adsense
2. Putting ad in the right side bar
3.Getting code for ads on your blog (not the side bar)
4. Putting the ads in the Post (below title)
http://mylearningcafe.blogspot.in/2015/04/search-engine-optimization-seo-series.html
What is adsense?
Adsense is Google's content-targetted advertising program.
One can make money by enabling Adsense on their blog. Relevant ads will be shown on your blog (once approved).
Follow steps below on getting adsense (on blogger):
1. Apply for adsense
- Log into blogger and go to Earnings (n the left side bar menu).
- Click "Sign up for Adsense"
- Complete the application form and await approval.
- Once approved, you will get a confirmation email.
- Go to Earnings section and click on "Yes" for "Show ads on blog"
- Ads will not appear on your blog initially, it may show blank ads for 2 days.
2. Putting ad in the right side bar
- Once approved, go to Earnings > View Dashboard > My ads
- Click on "+New ad unit"
- Select the "Large skyscraper"
- Automatically it will get activated on your blog
3.Getting code for ads on your blog (not the side bar)
- Once approved, go to Earnings > View Dashboard > My ads
- Click on "+New ad unit"
- Select the type of ad you want
- Once selected, click on get code.
- Copy the code.
4. Putting the ads in the Post (below title)
- As per step 3, you have got the code for the ad.
- Convert the code, using the following URL: http://helplogger.blogspot.com/2012/03/adsense-ad-code-converter.html
- Copy the converted code.
- Go to Blogger
- Go to Template
- Click on Edit HTML
- Keep a copy of the HTML code.
- Search for "<data:post.body/>"
- Replace the <data:post.body/> with
<div expr:id='"adsmiddle1" + data:post.id'></div>
<b:if cond='data:blog.pageType == "item"'>
<b:if cond='data:blog.pageType != "static_page"'>
<div style="clear:both; margin:10px 0">
<!-- Add here the code of your ad -->
</div>
</b:if>
</b:if>
<div expr:id='"adsmiddle2" + data:post.id'>
<data:post.body/>
</div>
<script type="text/javascript">
var obj0=document.getElementById("adsmiddle1<data:post.id/>");
var obj1=document.getElementById("adsmiddle2<data:post.id/>");
var s=obj1.innerHTML;
var r=s.search(/\x3C!-- adsense --\x3E/igm);
if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}
</script>
<b:if cond='data:blog.pageType == "item"'>
<b:if cond='data:blog.pageType != "static_page"'>
<div style="clear:both; margin:10px 0">
<!-- Add here the code of your ad -->
</div>
</b:if>
</b:if>
<div expr:id='"adsmiddle2" + data:post.id'>
<data:post.body/>
</div>
<script type="text/javascript">
var obj0=document.getElementById("adsmiddle1<data:post.id/>");
var obj1=document.getElementById("adsmiddle2<data:post.id/>");
var s=obj1.innerHTML;
var r=s.search(/\x3C!-- adsense --\x3E/igm);
if(r>0) {obj0.innerHTML=s.substr(0,r);obj1.innerHTML=s.substr(r+16);}
</script>
- Put your converted code by replacing the line in the above code <!-- Add here the code of your ad -->
- By default, the ad will appear below the title.
- If you want it at another place, at that place put the following <!-- adsense -->
Refer more articles on SEO series here:
http://mylearningcafe.blogspot.in/2015/04/search-engine-optimization-seo-series.html
http://mylearningcafe.blogspot.in/2015/04/search-engine-optimization-seo-series.html
No comments:
Post a Comment