Well for this you can use this extension UPDATE 4.1: HackProtect Extension (No Permissions Needed) - Better Emulator Detection
Put isPlayStoreInstalled block in if then condition if it’s true it means the app installed from playstore then show ads else don’t load ads and don’t show ads.