On: 2007/09/03 Viewed: 11795 times
Shorter URL for this page: http://ozh.in/l1

Here are a few example of display rules you can use with the plugin Who Sees Ads

I. Simple rules

These rules use "core" conditions that are enabled by default. To understand the logical flow, read rules in ascending order and mentally insert "otherwise" between each.

1) Display ads on older posts

Who Sees Ads

2) Display ads for everybody except regular readers

Who Sees Ads

3) Display for Search Engines visitors and on older posts, but never for regular readers

Who Sees Ads

4) Display for everybody except regular readers and logged in users

Who Sees Ads

5) Display for one month only

Who Sees Ads

6) Display 2000 times only

Who Sees Ads

II. Advanced rules

If you have the guts or need even more flexibility, edit the beginning of the plugin to have the following:

PHP:
  1. $wp_ozh_wsa['iknowphp'] = true;

This will enable advanced condition where you can use PHP code and function calls. Be warn: from now on, you're on your own and can break things :)

7) Display on home page only

Who Sees Ads

8) Display everywhere except on home page

Who Sees Ads

Or, this is the same :

Who Sees Ads

9) Display 30% of the time

Who Sees Ads

10) Display only to US readers

Feeling the need to geotarget your content? For this, you will need first to install the (excellent) plugin IP to Nation. Then, simply create a context with the following rule:

Who Sees Ads

III. Hurt Me Plenty

Still not convinced ? Or you need even more flexibility and power ? Dude. What about creating rules that make several ads interact then ?

11) Show Ad 1 30% of the time, Ad 2 70% of the time

Create two contexts : ad1 and ad2.

Context ad1 would be:
Who Sees Ads

Context ad2 would then be:
Who Sees Ads

Now, simply insert context ad1 in your pages or post. Awesome, isn't it.

12) Show Ad1 1000 times, then Ad2 1000 times, then Ad3 1000 times

Create 3 contexts and their code, named ad1, ad2 and ad3, with the following rules :

ad1:
Who Sees Ads

ad2:
Who Sees Ads

ad3:
Who Sees Ads

Then insert context ad3.

13) Let's get a bit crazy

You can of course create the most complex display rules if you really need them. Like: on single post pages, always display to Search Engines visitors, display on old posts excepts if visitor is not a regular reader, but above all, never display ads to yourself ? Weeeeeeeee:

Who Sees Ads

IV. Conclusion

Who Sees Ads is the Ultimate Ad Management plugin, I hope you're convinced by now.

You can use it, of course, to display quite everything, not just ads: greetings, help messages, temporary notices, images, text. Anything.

Related posts

Shorter URL

Want to share or tweet this page? Please use this short URL: http://ozh.in/l1

Metastuff

This page "Who Sees Ads : Example Display Rules" was posted on 03/09/2007 at 9:35 pm
Watch this discussion : Comments RSS 2.0.

42 Blablas

    Pages: [5] 4 3 2 1 » Show All

  1. 42
    Praz India »
    thought, on 04/Aug/10 at 2:53 am # :

    thanks a lot Ozh for your quick response. But can you atleast suggest how to decrease the page loading time?

    Thanks,
    Praz.

  2. 41
    Ozh France »
    thought, on 03/Aug/10 at 6:39 pm # :

    Praz » no, there is no way to detect if someone is behind a proxy.

Pages: [5] 4 3 2 1 » Show All

Leave a Reply

Comment Guidelines or Die

  • HTML: You can use these tags: <a href=""> <em> <i> <b> <strong> <blockquote>
  • Posting code: Post raw code (no <> &lt; etc) within appropriate tags : [php][/php], [css][/css], [html][/html], [js][/js], [sql][/sql], [xml][/xml], or generic [code][code]
  • Gravatars: Curious about the little images next to each commenter's name ? Go to Gravatar.
  • Spam: Various spam plugins on patrol. I'll put pins in a Voodoo doll if you spam me.
  • I will mark as Spam test comments, all comments with SEO names (ie "My Cool Online Shop" instead of "Joe") or containing forum-like signatures.

Close
E-mail It