Android introduced this new feature since Pie. I found out about it recently and it has been great.
Go to Settings, Connections, More Connection Setttings:
That’s it, enjoy ad free games etc