Arithmetic properties of automorphic $L$-functions