Preheat oven to 350 degrees and grease a 9x13-inch metal baking pan with cooking spray.
Whisk flour, cinnamon, ginger, baking powder, baking soda, and salt in a bowl.
Whisk vegetable oil, granulated sugar, brown sugar, and eggs in a separate bowl until glossy.
Stir dry flour mixture into wet ingredients until just combined.
Fold finely grated carrots and half of chopped walnuts into batter.
Spread batter evenly into prepared baking pan.
Bake at 350 degrees for twenty minutes until a toothpick inserted in center comes out clean; cool completely.
Beat cream cheese, softened butter, and powdered sugar until light and fluffy for frosting.
Spread cream cheese frosting smoothly over cooled carrot cake layer.
Sprinkle remaining toasted walnuts over frosting, chill for thirty minutes, and cut into bars.