Unfilled levels and excited states of adsorbates on metal surfaces