This morning, I encountered my first Team Rocket grunt at a black pokéstop. Upon spinning the spot, I became engaged in a battle with the grunt and battled their shadow Pokémon. After I defeated them, it came to a post-battle screen similar to a raid battle that displayed the number of premiere balls I received.
There were two bonus categories where I received 0 on - Hero and Purifier. How do I obtain these bonuses?