Election Goals and the Allocation of Campaign Resources