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
For the latest tech news and reviews, follow Gadgets 360 on X, Facebook, WhatsApp, Threads and Google News. For the latest videos on gadgets and tech, subscribe to our YouTube channel. If you want to know everything about top influencers, follow our in-house Who'sThat360 on Instagram and YouTube.