Try this:
I was able to get around this by moving my windows pc on an “unrestricted” network(no firewall, no dns hijacking, no VPN). Haven’t checked but it seems balena needs to connect to the ad screen in order to proceed. This is when you are flashing a file, you see a screen with some upsell. You cant flash if you dont see this screen.
edit: I used the google dns