add timing for ads pipeline