And Google has been monetizing that profile for a lot longer than Facebook has.
If Facebook is building a data portfolio of you, which is highly likely, then you can't avoid them, which means the problems that arise from the practice still impact you, whether or not you want them to.
It becomes harassment when this information is used to target someone. It is stalking if this information is used to follow you around. It is literally "cyberstalking" when it does. If someone is tracking you, they are stalking you.
Every website owner who puts code from Google or Facebook is complicit in this tracking/stalking.
When everywhere you go banners are being put in your face with messages tailored prod your fears based on what is known about you. When psychological tests are carried out en-masse [0], this is harassment.
[0] https://www.theguardian.com/technology/2014/jul/02/facebook-...