You can’t allow discount coupon for a particular category. You can create the discount coupon globally and then disallow for the products.