They run house-ads for their own jobs board and products, and they will have private marketplaces inside the exchanges, but those campaigns and creatives will still go through the standard adtech supply chain with all the JS-based layers added on.
https://www.stackoverflowbusiness.com/advertising
They do sell job postings and have sponsored tags so it's not all network ad revenue, but that's a minority of the income. Since they released their Q/A SaaS product now, maybe they’ll shift to selling that as the primary revenue stream.