In a large bowl, stir together flour, cinnamon, baking powder, nutmeg and ginger. Set aside.
In a mixer bowl, cream the butter and sugar at medium speed until light and fluffy, about 3 minutes. Add the eggs, one at a time, scraping down the bowl as needed. Mix in the vanilla.
Working in batches, with the mixer on low, add the flour mixture until just mixed. Add the sweet potato puree until mixed and well blended.