For a while, it wasn’t uncommon for an ad for something innocuous, like soap, to be streamed in sequence with a horrible terrorist-recruitment video. When advertisers complained—and only then, after the fact—Google started to root out terrorist content.