After the search giant welcomed more ads from small rivals like Ask.com, Google ad costs for some nonprofits ballooned.