Preheat your oven to 350°F (175°C). Grease and flour the loaf pan, or line it with parchment paper for easier removal.
In a large mixing bowl, whisk together the all-purpose flour, whole wheat flour, baking soda, baking powder, cinnamon, nutmeg, ginger, and salt until well combined.
In another bowl, mix the granulated sugar, brown sugar, and vegetable oil until smooth. Add the pumpkin puree, eggs, and vanilla extract, and whisk until fully incorporated.
Gradually mix the dry ingredients into the wet ingredients using a rubber spatula. Do not overmix; stir just until combined. If desired, fold in nuts and/or chocolate chips.
Pour the batter into the prepared loaf pan and smooth the top with a spatula.
Bake in the preheated oven for 60 minutes, or until a toothpick inserted into the center comes out clean. If the top is browning too quickly, tent it with aluminum foil in the last 15 minutes of baking.
Once baked, remove from the oven and let it cool in the pan for 10 minutes. Then, transfer the loaf to a wire rack to cool completely before slicing.