What is the significance of the upward sloping or horizontal AS curve for the Keynesian model? Explain using a leftward shift of the AD curve

What is the significance of the upward sloping or horizontal AS curve for the Keynesian model? Explain using a leftward shift of the AD curve