Multiwavelength observations of active galactic nuclei