Well I guess that's the case. What could I have possibly done wrong that caused this?
It’s also for people that use map locations that log in, as well as bots.
I thought you never cheated?!
...
I would change your log-in password whether it be from your google, Facebook, or the trainer club password.
Delete the “other” third party cheating apps from your phone... and also go to google settings and change their allowed third party apps so they don’t have auto access to your information... because-
https://www.google.com/amp/s/www.cnet.com/google-amp/news/pokemon-go-google-account-access/
AKA POGO has access to a lot of info on iOS users.
Log out of Pokémon Go, and log in with your new password. If you play legit for 1-2 weeks it disappears, but will return if you use the third party apps again.
Remember if you used IVFly, or others they can disguise themselves as Pokémon Go for access to your Google account, which triggers shadow ban:
From reddit;
According to my tests if you use a new phone to login via google account to PoGo (legit app), it will add an entry in the authorized app list. If you remove the authorization afterwards, the PoGo app will still login and the entry will not reappear until again you use new phone to login.
To complicate things a bit, some 3rd party apps also disguise themselves as Pokemon Go in the authorization list (lile ivfly) and add entry.
So my suggestion would be to remove PoGo entry from the authorization list if you ever logged in to a 3rd party app. The worst thing it will cause that the legit PoGo app will add it back (but only if you use a new device to login)
Hope this helps