TV sitcoms just went wild in the 1960's. Sitcoms of the 1950's were basically shows brought over from radio: Father Knows Best, Burns & Allen, Our Miss Brooks, Amos & Andy, Jack Benny Show, Ozzie & Harriet, even I Love Lucy was just a reworking of Ms. Ball's radio series, My Favorite Husband. Domestic sitcoms were the norm on TV for a while, things like Make Room For Daddy and Leave It To Beaver.
Then in the 1960's there were suddenly all these sitcoms that were basically cartoons for grownups (as well as kids) -- shows like Bewitched, I Dream of Jeannie, My Favorite Martian, F Troop, Gilligan's Island, Get Smart, Batman, and yes, the likes of The Beverly Hillbillies, Green Acres, Hogan's Heroes and McHale's Navy. Each of these shows was pretty successful, so there must have been a sizable audience for escapist fare like that at the time.