In the sentence provided, the gerund is "rolling." A gerund is a verb form that ends in "-ing" and functions as a noun. Here, "rolling" describes the activity of the ball in the context of the puppy learning to play fetch.
So the correct answer is rolling.