Oh please.
Targeted ads are like following people around, tracking everything they do, then interrupting them as they go about their business to interject your commercial "message" about something you think you can sell them for a profit, regardless of genuine need.
They are absolutely nothing like interaction between friends.
Advertising is all, pretty much by definition, entirely unlike a friendly recommendation. It has a profit motive.
Here are reasons friends recommend things in my experience:
* They think I’ll like it (A++).
* They like it (When their default way of expressing enthusiasm for something is recommending it, one has to learn to not take it so literally. Also, I’m not discounting the opportunity for shared bonding over something that at least one of us enjoys though. Is this category of recommendation a symptom of having a weak theory of mind? I don’t know).
* Loyalty (they’ll recommend products by friends/associates/compatriots, irrespective of quality).
* Financial kickbacks/business connections. (Still can be useful).
* Pyramid schemes (almost no experience with this, thankfully. I guess the same as #4 but also creepier).I wouldn't really consider someone doing your last two things there to be doing something friendly, those are self-interested actions and I would treat them with suspicion.
The first three though, sure, those are friendly actions. Their utility is variable, but they aren't motivated by personal profit.
I have vouched but I doubt it will have any effect, which I think is a shame because it think that, other than that single sentence, your conversation was constructive.
If I own an ecommerce marketplace I can look at a customer's previous purchases in order to gain some insights on what might interest them. There is absolutely nothing sinister, unethical, or just wrong about this. This is simply using knowledge about someone gained in a relationship in order to improve your service, again not too different from the knowledge you gain about your friends (or anyone you get to know since my use of the term 'friends' seems to bother you. This is not important to the point), which you use to improve, so to speak, your relationship with them.
Of course there is a profit motive, but this is a red herring. A good business profits by actually helping their customers, ie. by providing them with something of value to them.
Is it the main objective, though?
IMHO the main objective is to make potential customers aware that you exist. It's very basic behaviour for someone who tries to sell something, like setting up your fruits cart on a busy road, in full view, and not in a deserted backstreet.
There is nothing intrinsically unethical about ads or targeted ads.
Targeted ads are not that different from telling a friend about something you saw or heard of because you know that they might be interested.
"Unethical" is one of those terms that is being exponentially thrown at anything some people don't like, which only hollows out its meaning.