Added ad_id to output