Hello larrysunday,
These are definitely scams. However, I have recently discovered a new wrinkle in the scams. What you are describing sounds like a standard web scam and the pop-ups are in the web browser. But if you ever happen to fall for one of the many software scams, you could start getting OS X-style notifications in the top, right corner of your screen. These can also be scams. Plus, these alerts will continue even after you have uninstalled the scamware. There is NO user-accessible way to delete these notifications and they can continue - for years.
The moral of the story? Always have System Preferences > Users & Groups > General set to "Allow apps downloaded from" > "Mac App store and identified developers". Be very careful about downloading and installing scamware. Any software that has the word "clean" in the name, or advertises "cleaning" on its web site is a scam - yes - every single one. Many antivirus tools are just scams. The more often you see ads for the software on the internet, the more likely it is to be a scam. Scammers will use Big Data to blanket the internet (at least the one that you see) with ads for their scams. ALWAYS use an ad blocker like uBlock (https://www.ublock.org/). Again, you have to be careful, many ad-blockers are, alas, scams.