Let's just get out in the open right now: Playing to the Google Bot or other search engine crawler is OKAY as long as you're doing it with honest intentions. Those honest intentions may be to provide quality information on a subject, offer your goods and/or services, or just to be read because you need the attention. That's all fine, homey or homette.
However, if you are writing ONLY for the search engines in an attempt to drive traffic to your site and upon arrival you have poorly written content, a sloppy page, zero media, and your only intent is to gain more and more views—then that is NOT OKAY. And to be honest, people are gonna' figure you out real quick anyway and it will most likely result in few repeat visits AND YOUR COMPLETE AND UTTER DEMISE!