Twitter has agreed to sell mobile ad company MoPub to AppLovin for $1.05 billion in cash. The social media company had bought MoPub, that allows companies to keep track of ad inventory in real time, for nearly $350 million in 2013. MoPub had generated about $188 million in annual revenue for Twitter last year.