Optimization of Ad Platforms to Generate More Revenue from Games