Online advertising: Using targeted ads to attract customers