How would you use SQL window functions to analyze changes in ad performance over time at Integral Ad Science?