The pumpkin pie spice that I use in the frosting is a combination of cinnamon, ginger, nutmeg, and allspice. In the cookie recipe I do not have allspice or cloves which has a similar taste. So if you use the pumpkin pie spice just know that it will have a more allspice or clove taste.