The definition of campaigned means this: a series of coordinated activities designed to achieve a goal. Obama appeared several times with Odinga while he was running for President. Odinga is a political candidate. So we have the cause: Odinga's presidency and two: appeared twice to suppose Odinga. This is campaigning. Not sure what your definition of campaigning is?