How the Pentagon learned to use targeted ads for surveillance