The Minnesota House Democratic-Farmer-Labor Party Caucus recently placed the ad in a Minnesota newspaper aimed at two Republicans, including Rep. David Hancock.
But the photo in the ad was of David Hancock, Alberta's minister of human services.
The Canadian Hancock joked about the screw-up Thursday on Twitter and posted a copy of the ad.
Hancock wrote "my influence knows no boundaries" and offered "Campaign Advice: know your opponent."
He used the hashtag #UseTheRightPhotoNextTime.