print returned adv_id