Under the terms of the deal, Google also said it would make content about prescription drug abuse more visible and work with legitimate pharmacies to counter marketing by rogue sellers.
The settlement must be approved by a U.S. court. At a hearing on Wednesday in Oakland, Calif. federal court, U.S. District Judge Phyllis Hamilton said the programs Google would create are "satisfactory."
Hamilton did not formally rule from the bench, but said she was prepared to preliminarily approve the settlement.
Shareholders sued Google and its board in 2011 after the company reached a settlement with the government over the issue.
Google will allocate and spend at least $50 million a year to the internal effort for at least five years under the settlement. The company has also agreed to pay $9.9 million in fees and expenses to plaintiff attorneys.
The case in U.S. District Court, Northern District of California is In re Google Inc Shareholder Derivative Litigation, 11-4248.
© Thomson Reuters 2014
Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.