SAN FRANCISCO (Reuters) - Twitter has bought online mobile-ad exchange MoPub, the company said in a blog post Monday.