Support sp-ad switching by ua