It has two meanings:
If you canvass (for) people's votes, you ask them to vote for you.
If you canvass for the Acme Political Party, you canvass on behalf of the APP – i.e. on behalf of the APP, you ask for people's votes.
(Also, if you canvass people's opinions about X, you ask people what they think about X.)