Once upon a time it was pretty common for characters for tv shows to do commercials for their sponsors. Here are just a few examples:
There are many more that you can find just by playing with YouTube. I wonder exactly when this fell out of fashion. I'm guessing somewhere around the time salaries for stars went through the roof and residuals came into play.