Preheat the oven to 350 degrees Fahrenheit.
Using a stand mixer or a whisk, mix together both sugars, flour, baking soda, salt and spices. Make a well in the center of the bowl and add the pumpkin puree, eggs, olive oil and water. Mix until everything is incorporated, but don't over mix. Add in the walnuts if using a stir to combine.
Pour the batter into a loaf pan and bake for approximately one hour, or until a toothpick inserted into the middle comes out clean. Let cool and enjoy.