Adding advertising dv into templates