adding ids to ads