Skip to main content

Blogger Template Code for Google Adsense Ads

Blogger Template Code for Google Adsense Ads - Hi friends, I hope you are all in good healthGuru Online, In the article you are reading this time with the title Blogger Template Code for Google Adsense Ads, We have prepared this article well for you to read and take information in it. hopefully the contents of the post what we write you can understand. ok, happy reading.

Title : Blogger Template Code for Google Adsense Ads
link : Blogger Template Code for Google Adsense Ads

Baca juga


Blogger Template Code for Google Adsense Ads

You may have noticed that there are no Google Ads on the homepage of Digital Inspiration. That's because the content on the blog mainpage is updated so frequently that contextual advertising bots (read Adsense) may not be able to serve really relevant ads.

We do run Google advertising on individual posts (called Itempages in Blogspot jargon) and Archive webpages but not on the frontpage. Implementing this style of advertising in your Blogspot blog is easy though it helps if you know a bit about editing Blogger Templates and Template Tags.

Adsense Blogger Template Code
Here's a snippet of the HTML code from our Blogger Adsense template that will help you display Adsense Ads only on Itempages but not on the Mainpage. This template will also convert your blog post titles into hyperlinks only on the homepage and archives but the titles will continue to appear as static text in individual post pages.

<MainOrArchivePage>
<Blogger> <BlogDateHeader>
<h2 class="date-header"><$BlogDateHeaderDate$></h2> </BlogDateHeader>
<a name="<$BlogItemNumber$>"></a> <BlogItemTitle><BlogItemUrl><a href="<$BlogItemUrl$>"> </BlogItemUrl>
<h3><a href="<$BlogItemPermalinkURL$>"><$BlogItemTitle$></a></h3>
<BlogItemUrl></a></BlogItemUrl> </BlogItemTitle>
<$BlogItemBody$>
</Blogger>
</MainOrArchivePage>

<ItemPage><Blogger><BlogDateHeader>
<h2 class="date-header"><$BlogDateHeaderDate$></h2> </BlogDateHeader>
<div class="post"><a name="<$BlogItemNumber$>"></a> <BlogItemTitle><BlogItemUrl><a href="<$BlogItemUrl$>"> </BlogItemUrl>
<h3><$BlogItemTitle$></h3>
<BlogItemUrl></a></BlogItemUrl> </BlogItemTitle>
===== Google Ad Code goes here ======
<$BlogItemBody$>
</Blogger>
</ItemPage>

The above HTML code is written for the classic Blogger template. If you have upgraded to the drag-n-drop layout templates of new Blogger, the code may require some adjustments but the basic implementation principle would stay the same.

Related: Free Blogger Templates, Hide Blogger Bar


That's the article Blogger Template Code for Google Adsense Ads

That's it for the article Blogger Template Code for Google Adsense Ads this time, hopefully can be useful for all of you. okay, see you in another article post.

You are now reading the article Blogger Template Code for Google Adsense Ads with link address https://ilmuguruonline.blogspot.com/2007/04/blogger-template-code-for-google.html
Comment Policy: Please write your comments that match the topic of this page post. Comments containing links will not be displayed until they are approved.
Open Comments
Close Comment