Before I go off and invent something on my own I figured I'd ask here if anyone has done something similar.
We have a "sponsored links" section in our app that effectively contains paid advertising. We're finding that branch offices of the same company want to run ads but they want some assurance that their Company X - San Diego ad won't be on the same page as Company X - Bay Area since they tend to use the same corporate logo. I was just picking a random set of ads and displaying them but now I need to ad more logic to apply the mutual exclusion within one company's offices, or as I'm calling it, apply exclusion groups. The key requirements are 1) be fast (since we show 3 randomly-selected ads on pretty much every page of the app) and 2) honor the exclusion group requirement so that only one ad from an exclusion group will be displayed in a batch. Has anybody here done something like this before in a Rails app and has code or approaches they can share? Cheers, Chris -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby
