If the political candidate or campaign asks for a donation to be entered into a drawing, is that allowed?

No. If someone is required to pay for a chance to win a prize, it is considered a raffle. Only qualified and approved 501(c)(3) and 501(c)(19) organizations may hold a raffle. It does not matter that the payment is called a “donation.”