Apparently the series was originally aimed at adults and not at children. Winston cigarettes sponsered the series and hence in return the characters were used for their commercials.
According to Wikipedia, they stopped the sponsorship when Wilma became pregnant, after which the sponsor was Welch's Grape Juice... which is why Pebbles drinks so much grape juice as a baby.