Nanigans has raised $5.8 million in new funding, according to the BBJ and TechCrunch, led by Avalon Ventures. The company is one of, if not the biggest Facebook ad tech company as measured by revenue, and the new funding will go towards a new predictive modeling tool.

As TechCrunch explains:

The Nanigans secret sauce is its predictive modeling engine, which can both deduce and track how much a customer spends. This lets it determine that while it might cost an e-commerce company 3x as much to acquire a 25-year old Australian female, she’ll earn them 5x as much as a 15-year old Australian male. An advertiser may have to invest more up front, but in the long-term they’ll be richer for it.

The new funding will go toward R&D to improve the company’s predictive tool.

Nanigans has been growing like crazy; we covered the company’s announcement of one billion conversions back in February. The company raised a $3 million Series A in 2011.