Advertisers may be backing out of Glenn Beck's show, but it hasn't hurt his viewership. In fact, it may be helping.

Some 3.04 million viewers watched Fox News' "Glenn Beck Program" on Wednesday, his highest so far this week and one of his highest of the year, according to Nielsen Media Research. Earlier in the day, Sarah Palin wrote an entry on her Facebook page urging her fans to watch the show, saying that he is doing "an extraordinary job this week walking America behind the scenes of 1600 Pennsylvania Avenue and outlining who is actually running the White House."

Color of Change, an advocacy group, launched a boycott campaign against Beck last month after his appearance on "Fox & Friends," where he called President Obama a "racist" with a "deep-seated hatred of white people." Beck has defended his remarks and not apologized. Since then, some three dozen sponsors have opted out of the show, according to statements obtained from the advertisers by Color of Change. Among them are Sprint, Wal-Mart and GMAC Financial. Others, like Clorox and Kraft Foods, say they are avoiding partisan talk altogether. 

Beck's Wednesday number was his second best since he joined Fox in January. He was the No. 1 news program among adults 25-54, with his 888,000 topping even Bill O'Reilly's "The O'Reilly Factor." He was second in total viewers to O'Reilly's 3.3 million.

Follow @Variety on Twitter for breaking news, reviews and more