Personalized Advertising

We all know the eerie ad that pops up while scrolling through the gram based on a conversation you just had with a friend. This is what is called a personalized advertisement. Companies are investing a lot in this type of advertising now but should they be?