A Profit-Maximizing Strategy for Advertising on the e-Commerce Platforms