The halcyon days of software development for me were 1989-1991 at Microsoft. The company culture was centered on relieving us of distractions; we had one meeting per week, not three per day. We each had a single-occupancy office and its phone almost never rang. We were each issued a DND (Do Not Disturb) sign to put on the door when we were working.
Social networks didn't exist yet; the Internet itself hadn't taken off yet. We didn't get onscreen notifications about email, much less news stories.
All this is now inverted. In addition to the myriad distractions coming from the web and social networks the notion that we need to concentrate to do good work has disappeared. It's all about teams now, and those useless methodologies. A developer who wants to work alone is probably mentally ill, say managers, and brings "toxicity" to the "team."
We called them "groups" back then.
Ads? My FB client blocks them unconditionally, and if I had to see them I would drop even the 30 minutes a week I spend on there. I've detested advertising since I was in my teens and am long practiced at averting my gaze from magazines and billboards when they come into view.
Certainly companies have noticed that their developers aren't getting as much work done as we did 30 years ago but instead of returning to what works they make it worse with more and more meetings and extra layers of process. Scrumagile is bullshit and taking up the slack of shoddy work by writing unit tests achieves little if anything.
I work solo now, and I haven't worked onsite in ten years.