Well - I'm not too sure about online games, because I develop mobile games at my studio. But I'm sure the premise is pretty much the same, you want to find a good solid advertising company, like AdWords by Google, but there is a huge range of other mediums that you can use. It's a pretty simple implementation process. Just found this company
http://gameschart.com/ by typing it into Google, so it's not hard to find people that do it.
For flash, it's a simple URLLoader object and then you can pretty much make a custom class to show ads at various times, for example; this is what I have in my game which is present all the time:

I also have a full page splash ad that comes up after each level. But where it can get interesting for a game such as yours is this: the ads them selves have click event listeners on them, so you can detect when someone clicks on an ad, when someone does that you get a share of revenue, so you want people to do that lots, so what you can do is say when people click on the ad, give them a 2x score multiplier for the next level or something akin to that.
The actual implementation is not hard, it'll be setting up your account and the like that's probably going to be the tricky part. Let me know how you go!
SC