Exclude Adsense ads from appearing in blog entries or certain pages

Although the best way to take advantage of AdSense ads is to put AdSense ads in all publications and pages on your website. 
Put Google Adsense Ads Inside Blogger Posts

But sometimes you need to prevent AdSense ads from appearing identify a specific page or private from your blog for one reason or another
Only a total of simple codes will solve this problem.

First  Control of ads listed in the Post :

1 - Control Panel Blogger, go to the tab: (template), and (HTML editor).
2 - Look for ads Adsense code, and place it between the following code:

    <div id="GAdsense1">
    The code of Adsense ads average

    3 - now directed to the tab (posts), and from it to any blog post you wish to hide  Adsense ads, and click (Edit).

    4 - HTML editing mode, go to the last lines of code, and add the following code after then  press (update):

    <script type="text/javascript">
    var Ads1 = document.getElementById('GAdsense1');
    Now we have to prevent Adsense ads from appearing on this post.
    The ads will appear on all Posts normally.

    These codes can be applied on the pages of Entries or Static Pages.
    These codes can be applied to any type of ads (text - pictures - links)

    Second  Control of ads listed In Widget

    That you have a number of Adsense ad units on Widgets, anywhere.
    You can also prevent the emergence it of certain pages using the following steps:

    1 - Go To  Blogger Control Panel, go to the tab (Layout).

    2- Hover your mouse on the word Edit at the bottom of the Widget you want to exclude his appearance, and see the bottom of the browser bar to know the number Widget, and be on the body (HTML9), for example, as shown in the picture below

     3 - now directed Tab (​​template), and it (Edit HTML).

     4 - button (Jump To Widget), select the number of the Widget.

    5 - you'll find your code like this ( Replace 5 with your Widget number):

    <b:widget id='HTML5' locked='false' title='' type='html'>
    <b:includable id='main'>
    Codes belonging To Widget
    6-Change the code to become like this 
    <b:widget id='HTML5' locked='false' title='' type='html'>
    <b:includable id='main'>
    <b:if cond='Condition'>
    Codes belonging To Widget
    7 - Now replaced  the word "Condition"  with any of the following lines in accordance with  the required condition for the emergence of advertising:

    •  To appear only on the home page:
    data:blog.url == data:blog.homepageUrl

    •   To appearing on all pages except the Home:
    data:blog.url != data:blog.homepageUrl

    •  To appear only on the pages of posts :
    data:blog.pageType == "item"

    •  To appearing on all pages except pages Postings:
    data:blog.pageType != "item"

    • To appearing on static pages only:
     data:blog.pageType == "static_page"

    • To appearing on all pages except static pages:
     data:blog.pageType != "static_page"

    •  To appear on a particular link in the blog:
     data:blog.url == " Put the Link here "

    •  To appearing on all pages except a particular link in the blog:
     data:blog.url != "Put the Link here"

    The codes previous can be used with any Widget whether the ads contain Adsense or anything else.
    Share this article :


    + التعليقات + 35 التعليقات

    May 11, 2013 at 3:15 PM

    I droρ a leаve a response each time I aрpreciate a post on a site
    oг I have something to add to the cоnverѕation.
    Usually it's caused by the fire displayed in the post I browsed. And on this post "Exclude Adsense ads from appearing in blog entries or certain pages". I was actually excited enough to post a thought :-P I actually do have a couple of questions for you if it'ѕ okay.
    Could іt be only mе or ԁο some of theѕe remarkѕ cοme acrοѕs like wгіtten bу
    bгain ԁead people? :-P And, if yоu arе posting
    on additional sіtеѕ, I ωould lіke tο keep up with еveгything nеw you have tо ρost.

    Would you list the comрlеte urlѕ of
    all your publiс sites likе your twіtter fеeԁ, Fаcebook page οг linkedin pгofile?

    Feel free to ѕurf to mу homepage: http://www.speeddown.co.kr/root/?document_srl=14488

    May 13, 2013 at 6:36 AM

    It was fascinating. You appear quite informed within your discipline.

    Feel free to visit my webpage: All Inclusive Vacations Caribbean Islands

    May 13, 2013 at 10:15 AM

    Hello, after reading this amazing post i am as well cheerful to share my
    know-how here with friends.

    Here is my web-site: best ptc

    May 18, 2013 at 3:21 AM

    Amazing blog! Is your theme custom made or did you download it from somewhere?
    A design like yours with a few simple tweeks would really make my
    blog shine. Please let me know where you got your theme.
    Many thanks

    Feel free to visit my web site; polycystic ovarian syndrome diet

    May 18, 2013 at 3:27 AM

    Thanks for finally talking about > "Exclude Adsense ads from appearing in blog entries or certain pages" < Liked it!

    Also visit my weblog - ski

    May 18, 2013 at 4:01 AM

    Hey there would you mind letting me know which webhost you are working with?
    I've loaded your web site in 2 different browsers and I have to say this blog site loads a lot quicker then most. Can you suggest a good hosting provider at a reasonable price? Many thanks, I appreciate it! Please also excuse if my english is not good enough.

    my web blog: baby walker reviews

    May 18, 2013 at 4:15 AM

    Hello! I could have sworn I've visited this site before but after going through a few of the posts I realized it's new to me.
    Nonetheless, I'm definitely pleased I came across it and I'll be
    bookmarking it and checking back often!

    Also visit my weblog: Independent travel tours

    May 18, 2013 at 4:29 AM

    Your style is really unique in comparison to other folks I've read stuff from. Many thanks for posting when you have the opportunity, Guess I will just book mark this blog.

    my website: Http://www.Stopacneoutbreaks.com/

    May 18, 2013 at 5:41 AM

    Howdy! I know this is kinda off topic but I was wondering if
    you knew where I could locate a captcha plugin
    for my comment form? I'm using the same blog platform as yours and I'm having trouble finding one?
    Thanks a lot!

    Review my homepage ... location voiture longue duree

    May 18, 2013 at 5:45 AM

    The godfathers, party leader and celebrities used to have
    limousines. Note down all the possible questions like, price, refund policies, cancellation policies, additional charges,
    taxes, perks offered, dress code of drivers etc.
    This is a section of articles dedicated to reviewing real weddings in Colorado.

    Also visit my site denver airport taxi

    May 18, 2013 at 6:04 AM

    Hello There. I discovered your blog the use of msn. This is a really neatly
    written article. I'll make sure to bookmark it and come back to read extra of your helpful information. Thank you for the post. I will definitely comeback.

    Feel free to surf to my weblog :: online geld verdienen

    May 18, 2013 at 6:09 AM

    Quality articles is the crucial to interest the people to pay a quick visit the web page, that's what this site is providing.

    Also visit my webpage internet marketing training

    May 18, 2013 at 6:21 AM

    This is the perfect site for anyone who wishes to understand this topic.
    You understand so much its almost hard to argue with you (not
    that I personally will need to…HaHa). You definitely put
    a fresh spin on a subject which has been discussed for years.
    Great stuff, just great!

    Feel free to surf to my blog post; chinese dress

    May 18, 2013 at 6:57 AM

    Hi there, You have done an excellent job. I will definitely digg it and personally suggest to my friends.
    I am confident they'll be benefited from this web site.

    my site - http://www.snafu.co/profile/jameyvrtd

    May 18, 2013 at 7:21 AM

    Hi, i feеl that і saw уou viѕited my web ѕite
    so i came to go bаcκ the favor?.I am trying to іn
    findіng things to іmproѵe my ѕitе!
    Ӏ assume its adequate to uѕe some of youг ideаs!

    mу ωebpаgе - Butt plug

    May 18, 2013 at 7:26 AM

    Terrific article! That is the kind of information that are meant to be shared across the internet.
    Disgrace on the seek engines for not positioning
    this submit higher! Come on over and visit
    my website . Thank you =)

    Here is my blog ... http://www.doggiesite.com/phpBB2/profile.php?mode=viewprofile&u=542786

    May 18, 2013 at 8:38 AM

    Your curгеnt гepοrt οffеrs νerіfіeԁ necessaгy to us.

    It’ѕ eхtremеly uѕеful anԁ yоu're certainly very knowledgeable in this field. You have got opened up my own face to be able to varying views on this kind of matter along with interesting and reliable written content.

    My web page :: buy ambien

    May 18, 2013 at 8:52 AM

    It's the best time to make some plans for the longer term and it's time to be happy.

    I've read this put up and if I may I desire to recommend you few attention-grabbing things or advice. Perhaps you can write subsequent articles regarding this article. I want to learn even more things about it!

    Visit my weblog; webnode.nl

    May 18, 2013 at 9:01 AM

    What's up to all, the contents existing at this site are genuinely awesome for people knowledge, well, keep up the good work fellows.

    Feel free to surf to my homepage; http://goldcoastguru.blogspot.com/2010/03/benefits-of-home-ownership.html

    May 18, 2013 at 9:01 AM

    Hello, this weekend is nice designed for me, for
    the reason that this moment i am reading this
    fantastic informative post here at my residence.

    my homepage ... wirelesshdmix.webs.com

    May 18, 2013 at 9:59 AM

    I like what you guys tend to be up too. This kind of clever work and
    exposure! Keep up the good works guys I've added you guys to my personal blogroll.

    Feel free to surf to my site - Http://www.twisk.tk

    May 18, 2013 at 10:26 AM

    These types of sounds can include footsteps, rain drops or
    crunching noises. Books are heavy and knowledge can kill - if they fall on you.
    Reading a Skill Book will permanently boost that
    skill by 3 skill points (4 with the Comprehension perk).

    Here is my page ... caribtrade.net

    May 18, 2013 at 11:14 AM

    I all the time used to read paragraph in news papers but
    now as I am a user of web thus from now I am using net for content,
    thanks to web.

    my website no2maximusreviews.net

    May 18, 2013 at 11:40 AM

    Good blog post. I definitely appreciate this site. Keep writing!

    Take a look at my homepage polo ralph lauren outlet

    May 18, 2013 at 11:41 AM

    Hey there, I think your website might be having
    browser compatibility issues. When I look at your blog site in Ie, it looks fine but when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up! Other then that,
    wonderful blog!

    Also visit my homepage: www.bit-wiki.de

    May 18, 2013 at 11:47 AM

    Hi there to all, how is all, I think every one is getting more
    from this website, and your views are good in favor
    of new users.

    Here is my weblog: http://issuu.com/

    May 18, 2013 at 11:50 AM

    Hi, every time i used to check webpage posts here
    early in the dawn, as i enjoy to learn more and more.

    my page; grey silver bridesmaid dresses

    May 18, 2013 at 11:55 AM

    I do not know the cause of a problem you do not see my site on the Internet Explorer browser and thank you for your visit

    May 18, 2013 at 12:10 PM

    Hello! Do you know if they make any plugins to assist with SEO?
    I'm trying to get my blog to rank for some targeted keywords but I'm not seeing very good results.

    If you know of any please share. Cheers!

    Here is my blog: クリスチャンルブタンシューズ

    May 18, 2013 at 12:57 PM

    Nie jestem aż takіm Inteгnet maniаkiem
    jesli mam być prаωԁοmóωna, niеmniej ϳednak tωoje forum jеst tak
    wciągaϳącе i naρrawdę sωobodnie ѕię јe сzyta,
    że niе mogłаm sie odeгwać.
    W istocie sωojsko:), tak trzymаć!. Wszystkiego najlеpszеgo za іdealną lekturę.

    Feel free to surf to my homepаge; Auta ciężarowe

    May 18, 2013 at 1:03 PM

    It's going to be finish of mine day, however before ending I am reading this impressive paragraph to increase my knowledge.

    Feel free to visit my page ... real estate appraisal software

    May 18, 2013 at 1:30 PM

    mind letting me know which web host you are using?

    I've loaded your page in 2 different browsers and I will have to say this blog site loads a lot quicker then most. Can you suggest a good hosting company at a fair price? Thank you, I appreciate it! Plz also exc

    Here is my web-site best baby walkers,

    May 18, 2013 at 1:48 PM

    Your means of explaining everything in this paragraph is really fastidious, all
    can easily be aware of it, Thanks a lot.

    Look at my website - babyfoonmetcamera.webnode.nl

    May 18, 2013 at 2:00 PM

    Youг oωn artіcle οffers сonfirmed useful to mе personally.
    It’s verу informative anԁ уou're clearly really well-informed in this area. You have got popped my personal face in order to numerous opinion of this subject together with interesting and strong written content.

    My web-site :: buy phentermine

    May 18, 2013 at 2:59 PM

    I have read so many articles regarding the blogger lovers but this
    post is in fact a fastidious article, keep it up.

    my weblog - エアジョーダンスニーカー

    Post a Comment

    Support : Creating Website | Johny Template | Google World
    Copyright © 2011. SOFTWARE RAR - All Rights Reserved
    Template Created by Creating Website Published by Google World
    Proudly powered by Blogger
    Related Posts Plugin for WordPress, Blogger...