Google is an advertising sales company.
Google sells its data to third parties. Government agencies are one such third party and not just our government.