This patent uses the game engine and machine learning to determine the best time to serve an ad.