User Interaction with Online Advertisements: Temporal Modeling and Optimization of Ads Placement