In this paper, firstly, the ruled surface is expressed as a spatial quaternionic. Also, the spatial quaternionic definitions of the Striction curve, the distribution parameter, angle of pitch and the pitch are given. Finally, integral invariants of the closed spatial quaternionic ruled surfaces drawn by the motion of the Frenet vectors {t, n 1 , n 2 } belonging to the spatial quaternionic curve α are calculated.