In this case she is refering to the time before the elections, when she worked hard to win. "Campaign" refers to everyhing she did to promote herself, speeches she gave explaining her ideas, TV appearances and so on. This word can be defined as a series of organized things you (or someone) do to achieve a goal. In this case, we are talking about a political campaign, so her goal was to be elected President.