Recently, I'm testing with my Android 6.0 phone and ADB tools. I list all applications with
pm list packages. After installing and uninstalling (i.e. trial and error) some of the applications, I find that if I uninstall these two applications, other applications does not shows any type of advertises. Then I copy those APK files in SD card and execute these two commands with
adb.exe shell to uninstall those two application.
pm uninstall --user 0 com.android.vending.apk pm uninstall --user 0 com.google.android.gms.apk
Though I'm pleased with removing all advertises, I saw that Google Play Store and Google Account vanished from Home Screen. But I reinstall them from the APK files and it works properly.
Question: Is Google Play application responsible for all those advertises in other apps? Can I remove those Ads providing links between apps and Play Store?
N.B: I'm new to this site. This question may be duplicate. I didn't find appreciable answer in other questions.