The reality is that this firehose of money is what allowed those core problems to grow & fester. That and the practice of using TVCs for as much as possible, to the point where nearly every process that's documented is outsourced, and often no one inside really understands how things work anymore.
Basically ad dollars have continued to transition from old media to digital media over the last decade+ and that mass migration has created enough revenue to cover up all of Google's core problems.