This was the first presidential race in the past five years where the winner was not the candidate who spent the most.