That movie would have been “Good Neighbor Sam,” which I saw in a theater in 1964.
I note that "Good Neighbor Sam" came out in July 1964, and the TV show Bewitched premiered in September of 1964.
Bewitched, of course, also features a married couple in which the husband is an earnest, harried, and ill-used ad man, and the misadventures he gets into while being forced by his management to bend himself into a pretzel for this client or that.