Google is buying a company that specializes in social media marketing as it intensifies competition with Facebook for ad dollars and attention. The company, Redwood City,...