My guess is they own accounts which show the ads, so they get paid for showing ads. This is similar how those "get free money" apps work, they own Ad account and get paid when you view/click that ad.
Another theory is since lots free games have where you can earn in-game currency for viewing ads, the bot farms might be abusing this method.
But that's not in the article and I don't get it: what's in it for these bot networks, how do they get paid?