Preheat your oven to 350°F (175°C). Grease and flour a 9x5-inch loaf pan or line it with parchment paper for easy removal.
In a medium bowl, whisk together the flour, baking soda, baking powder, cinnamon, nutmeg, ginger, and salt. Set aside.
In a large mixing bowl, combine the granulated sugar, brown sugar, pumpkin puree, vegetable oil, eggs, and vanilla extract. Mix until well combined and smooth.
Gradually add the dry ingredients to the wet ingredients, stirring gently until just combined. Be careful not to overmix. If using, fold in the chopped nuts and chocolate chips.
Pour the batter into the prepared loaf pan and smooth the top with a spatula.
Bake in the preheated oven for 60-70 minutes, or until a toothpick inserted into the center comes out clean.
Once baked, remove from the oven and let the bread cool in the pan for about 10 minutes. Then transfer it to a wire rack to cool completely.