How do you figure? There's no offramps from Drive or Docs into Search as far as I know. Are you saying that because they're subdomains, it somehow works to get you to ads?
Docs and Drive want to sell you storage and collaboration capabilities. Not ads.