The allocation of funds in lobbying and campaigning