Role of quadratic and cubic spectral phases in ladder climbing with ultrashort pulses