WordPress.org

Forums

Ad Injection
block add's on certain posts (11 posts)

  1. avinews
    Member
    Posted 3 years ago #

    I'd like to block add's on certain posts, but I can't seem to get it to work.

    can someone explain how to do that?

    http://wordpress.org/extend/plugins/ad-injection/

  2. reviewmylife
    Member
    Plugin Author

    Posted 3 years ago #

    Hi avinews, have you tried all the methods listed in 'How do I stop adverts from appearing on my contacts form page?' on http://wordpress.org/extend/plugins/ad-injection/faq/

  3. 4020
    Member
    Posted 3 years ago #

    Does the option to stop ads appearing on specific posts/pages only apply to posts?

    I'm trying to use this option:

    "Add the post/page id to the post/page id ad filtering box."

    I go to "Global Filters" where I add my page IDs ...

    To the right I select "Never Show In" but the box below only shows my post categories. That's where I was expecting to see pages from which I could prevent ads appearing.

    I guess I'm missing something very obvious (?)

    Or do I need to use one of the other options listed in "How do I stop adverts from appearing on my contacts form page?"?

    Thanks

  4. reviewmylife
    Member
    Plugin Author

    Posted 3 years ago #

    Hi 4020, sounds like you are looking at the category row.

    There are 4 text boxes in that section. The 4th one is for the IDs. You need to manually enter any ids into that box.

    BTW - Pages don't have categories or tags so you can't use those options for pages.

    You can either enter the page id into the 4th box, or use one of the other options listed in "How do I stop adverts from appearing on my contacts form page?"

    Hope this helps.

  5. 4020
    Member
    Posted 3 years ago #

    Hi

    I added some page IDs to that 4th box for "Top Ad Filters" where it says:

    "Comma separated list of author nicknames. e.g: john, paul"

    And it works perfectly.

    Thanks very much.

  6. reviewmylife
    Member
    Plugin Author

    Posted 3 years ago #

    Glad that works!

    Just in case anyone else is confused... That description is actually for the 3rd box. The 4th box description says "Comma separated list of post or page ids. e.g: 7, 38, 243", which hopefully makes more sense.

  7. 4020
    Member
    Posted 3 years ago #

    I see it now.

    I was looking at the 4th box below "Comma separated list of author nicknames. e.g: john, paul" which is in fact the same box which is above "Comma separated list of post or page ids. e.g: 7, 38, 243".

    Sorry for my confusion. All clear now.

    Thanks.

  8. veliseremet
    Member
    Posted 3 years ago #

    Hi,

    I found this plugin from Google and installed to my Blog. I said "Aha! This one is what am I looking". It is really very professional plugin. I can see it. But I have some problem with this plugin. I am trying Google Ad. But it doesn't work. Why I don't know. But other Ads are working very well. I don't have a any cache plugin. Here is my code:

    My Google Ad code (It's not working):
    =====================================

    <!-- Google Adsense -->
    <script type="text/javascript"><!--
    google_ad_client = "ca-pub-4396xxxxxxxxxx";
    /* Test Ad */
    google_ad_slot = "2448573072";
    google_ad_width = 468;
    google_ad_height = 60;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>

    My other Ad code (It's working):
    ===============================

    <!-- Godaddy -->
    <script type="text/javascript" language="javascript" src="http://www.jdoqocy.com/tb65esodfhkroghu28C58444?target=_blank&mouseover=Y"></script>

    If somebody help me I will very happy. Thank you very much.

    Veli

  9. reviewmylife
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Veli, are you able to share a URL on which you'd expect the ads to show? Is this the first time you've added AdSense to the site? It can take a day or two before Google start serving ads to you.

  10. veliseremet
    Member
    Posted 3 years ago #

    Hi,

    thank you for your answer. Yes this is the first time I have added AdSense to the site. My account is two weeks old. But I created my Ads yesterday. Here is my url: http://www.newinternetshopping.com

    Thanks for your help.

    Veli

  11. reviewmylife
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Veli, the AdSense code looks fine. You are just being served a blank white box as Google hasn't got any ads for you yet. It can take a few days for AdSense ads to appear after being added on a site.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Ad Injection
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic