Search Engine Optimization

This is a hot topic in the SEO / SEM world, are search engine marketing and search engine optimization firms considered Ad agencies?

I went out and edited the Wikipedia post noting that they are ad agencies, based upon the definition of a Ad Agency, that goes out and does media buys, isn’t that what SEM and SEO agencies do?