We prove the boundedness of the generalized fractional integral operators and their modified versions on Morrey spaces and on Campanato spaces respectively. Our approach involves the Hardy-Littlewood maximal function and Young functions.