Actually this is NOT true. Look at Mac OS X. Apple just repackaged BSD UNIT that they got for free. It is a free operating system that Apple just used.
The Apache web server, linux and all of Libre Office. All free with no ads.
Only the low end small scale stuff is supported by ads the best and biggest free software projects are done never supported with ads
>Only the low end small scale stuff is supported by ads the best and biggest free software projects are done >never supported with ads
That describes about 99% of the Apple App Store content. And those "small scale stuff" is what make iOS so popular.
So if you are a developer with an idea for an app (small scale stuff), how do you make money if the end product is free and contain no ads? Do you run an ads that asks for donation?
The "free" codes that you talked about are written by developers many of whom were paid by companies for work they do, and these companies run ads. So in the end you are actually paying for the free software by watching those ads.