What weight oil did you buy? The weight is the most inportant thing to be correct for these engines.
Typically diesel oil is specced to have a higher shear stability. Using it is a gas engine (as long as it is the correct weight) is not a problem, it it just typically unnecessary and costs more.