Google said it could do better to ensure that its advertisers’ content doesn’t appear alongside videos with extremist and other objectionable content.