Attribution and Dynamics in Online Advertising