Top officials at Google knew about ads for online black-market pharmacies displayed on the Internet search giant's website, according to published reports.