Bud light is a famous recent example. Of course, the company is large enough that it didn't make the company bankrupt, but it hurt them
Companies only started putting gay couples in commercials regularly years after gay marriage was legalized nationally.