The purpose of advertising is to sell. It is the only purpose.
Product is 1, marketing is 0. Without a good product, no amount of marketing is futile.