I can only imagine the man hours that went into Google's Adsense bot, and it only had to verify websites rather than mobile apps.
You need highly accurate data about user behaviour around the ads, and highly optimised display and linking.
I've built a similar system, albeit not for ads, for recommendations, based on viewing items in a feed. With a simple model, across web and app, all developed in-house, it was still hard and required a lot of care to get good ML signals and signals that people really understood.
Doing this across third party clients may be prohibitively difficult. I'd like to see attempts, but so far I've not seen any.