RKG Logo

Last week, we released RKG Duck, a Windows Clipboard Filter. I described some simple uses in an introductory video demo. I wanted to make a second video to show how write your own filters.

With George’s post on the limitations of AdGroups still fresh on the blog, (AdGroups as a Barrier to Success), I decided to write a RKG Duck filter which approximates AdGrouping. That is, given a list of keywords, write a filter which yields a signature which clusters similar phrases.

I chose a rudimentary algorithm: for each phrase, remove stop words, stem, alphabetize, and crush into a signature. It took me just under ten minutes to code it.

Here’s a 90 second preview video showing the filter in action:

And here’s a link to the full 10 minute video. It covers installing RKG Duck, using CPAN modules, and writing the stemming AdGroup filter.

Video Link: RKG Duck II: Google AdGroups And Stemming


Note: this example is a demonstration of what one can do with RKG Duck. This isn’t how our firm builds AdGroups — we don’t recommend building out phrases then AdGrouping later. Rather, the right approach to build campaigns is to go through every relevant URL on the site; build out rich keywords for each URL; assign targeted copy, smart match types, and sensible initial bids; then adgroup them appropriately. As George mentioned, there’s significant benefit in databasing ads in a richer taxonomy than the simple Campaign >> AdGroup >> Term hierarchy.

If you like this post, consider subscribing to our RSS feed. You can also have new posts sent to you via email.

Share this post (via email, Digg, Delicious, etc)

Similar Posts

Trackback

http://www.rimmkaufman.com/rkgblog/2008/01/27/duck-stemming/trackback/

Comments

  1. Jeff, February 14, 2008:

    Hey, this looks great. I installed the duck, grabbed Perl active state and have the built in .pl files working properly…but I can’t get the adgroup filter to work. The Youtube video was a bit distored - can you confirm this code?

    use strict;

    use Text::English;

    my %stop = map {$_=>1} qw(
    a about an are as at be by for from how i is it
    of on or that the this to was what when where who will with the);

    while () {
    chomp;
    my @w=split( /\s+/. $_);
    @w = grep { ! $stop{ $_} } @w;
    @w = Text::English::stem(@w);
    print join(”. $ @w), “\n”;
    }

  2. Jeff, February 14, 2008:

    I found a few errors, now it just pastes what I copied, but the result is noting.

  3. Alan Rimm-Kaufman, February 14, 2008:

    Hi Jeff —

    • You shouldn’t need to install Perl.
    • You do need to install Text::English. Did you look at the longer video: http://www.youtube.com/watch?v=SK7xaTV3D2c
    • You can’t run the tool thru a Windows shortcut link, as it looks in “.” for filters.
    • If the window turns red, there’s an error. Are you seeing red?
    • As a test, can you get a simpler filter to work? say, the uppercase filter?

    Cheers –

    Alan

  4. Daniel, February 28, 2008:

    Hi.
    I downloaded your duck tool however the software does not capture the filters that come along with the download, ie: on the left side of the user-interface, there are no filters which I can click on, there is just an empty white space. I thought I was doing something wrong however a friend with strong technical skills also had the same problem. Any advice??
    Thanks so much!

  5. mike, March 7, 2008:

    Thank you for offering this tool, but I also can’t make out the code in the adgroup stemming video. Any chance you could post this for download? I would love to experiment with it.

Your Comment

We "do-follow" links in comments. This may help your search rankings. Learn more...

Email Updates

Categories

Recent Comments

  • Matthew: We use Joomla, I don't see why people complain about it, its very easy to follow and recently we launched JoomlaMafia.com for a place to...
  • Patrick: Google has started in the right direction and its nice to see that they are helping the environment. Other big companies that consume huge...
  • Alan Rimm-Kaufman: That's a marvelously perverse use of Google's tool -- kudos!
  • Tad Miller: The sad thing is, even if you don't select those really bad synonyms, Google's Expanded Broad Match will show them for you. I've...
  • david gonzalez: thanks very much Alan... you rock!
  • Gayle Dallaston: "There is a screaming need in the industry for someone to put together a network of clean affiliates, that will do the hard work...
  • Elbrus: In regards to the economy I just read over at marketingvox.com that multi-channel shoppers spend nearly twice as much on goods and services...
  • John K: I wrote a post about blog spam containing the essence of your law back in 2005, but I said (rather generically and not as quotable): "Any...
  • Bryan: Wow! I don't know how many times I've wished for something like this! Using Perl just never seemed quite as easy as writing a really...
  • Mamacita: This is a great interview! Steve Spangler ROCKS; I check my TV Guide every week so I can find him on "Ellen" or wherever he's appearing....
  • Andrew Moore: I attend YAPC every year, and love it. We depend on contributions from people like you, and each of us attendees are very aware of...
  • Danny: Ok, I'm definitely going to try some of those tips ... nice job!
  • Xurxo: Ryan, you're right on the money for some advertisers when you said that "the best solution involves a combination of geo-targeted terms...
  • Brook Schaaf: It is worth pointing out that search management agencies, which I understand Rimm Kaufmann to be, often regard affiliates as...
  • George Michie: Peter, I think the notion of a clean network holds promise, but protestations to the effect: "We're clean, We're clean" aren't going...

Blog Stats

  • Posts: 706
  • Words: 307,812
  • Comments: 1,020

Administration

Close
  • Social Web
  • E-mail
Powered by ShareThis