I found the problem on my Galaxy Note 4. It was an app that I did not install, one called "Avert." I suggest looking through your apps list in settings, app manager, and then uninstalling any you don't recognize, Avert in particular. These popups started right after I installed Swiftkey keyboard...