Let π1, π2 be cuspidal automorphic representations of PGL2(R) of conductor 1 and Hecke eigenvalues λπ1,2 (n), and let h > 0 be an integer. For any smooth compactly supported weight functions W1,2 : R → C and any Y > 0 a spectral decomposition of the shifted convolution sum