A federal judge in San Jose, Calif., has given final approval to a settlement in a class-action click fraud lawsuit that requires Yahoo to pay nearly $5 million in attorney fees and give full credits to advertisers dating back to 2004. The judge's action Monday settles claims by Checkmate Strategic Group that Yahoo charged advertisers for clicks on online ads that were fraudulent or done in bad faith.