Preheat the oven to 350°F (180°C). Line a 9x13-inch baking pan with parchment paper, leaving a slight overhang for easy removal. Lightly grease.
In a medium bowl, whisk together the flour, baking soda, baking powder, salt, cinnamon, nutmeg, and ginger.
In a large mixing bowl, whisk together oil, granulated sugar, brown sugar, eggs, and vanilla until smooth and well combined.
Add the dry ingredients to the wet mixture and gently mix with a spatula just until combined. Do not overmix.
Fold in the prepared carrots and chopped pecans.
Pour the batter evenly into the prepared pan and smooth the top.
Bake for 30–35 minutes, or until a toothpick inserted into the center comes out clean or with a few moist crumbs.
Allow the cake to cool completely before frosting.