Impact of advertising on consumer behavior