LIKE US ON FACEBOOK
Home » » Fix Adsense Ads Only On Homepage or Post Page of Blogger

Fix Adsense Ads Only On Homepage or Post Page of Blogger

Fix Adsense Ads Only On Homepage or Post Page of Blogger
Fix Adsense Ads Only On Homepage or Post Page of Blogger
1. Login to Blogger with your ID
2. Go to Blogger Dashboard.

3. Click Template.
4. Edit HTML >> Proceed >>
5.
As Required Follow Below Steps 

If You Want to Show Ads Only On Home Page then Change Your Adsense Code Like Below Code.

<b:if cond='data:blog.pageType != &quot;item&quot;'> YOUR AD CODE HERE </b:if>

If You Want to Show Ads Only On Post Page then Change Your Adsense Code Like Below Code.

<b:if cond='data:blog.url != data:blog.homepageUrl'> YOUR AD CODE HERE </b:if>

Replace Your Adsense Code Where Middle Of The Code Mark With Blue Color.

2 comments:

  1. Great post on brilliant subject. I am sure your web visitors would find the post useful. I also mentioned your post link there on the google adsense case study.
    website design

    ReplyDelete
  2. i think u have pasted the reverse codes for the homepage and post page....

    ReplyDelete

Like us on Facebook
Follow us on Twitter
Recommend us on Google Plus
Subscribe me on RSS