Candidates spend $31 million in Twin Cities on political ads