You can be an advertising company and also make some contributions to tech at the same time
I still think your rephrasing of the characterization is somewhat unfair to Google. They created their main business by developing the technology to enable it, and they have gone way beyond "some contributions" to software and systems technology in support of it.