The solution is in sight. It's called Feature Policy.
https://feature-policy-demos.appspot.com/
https://developers.google.com/web/updates/2018/06/feature-po...
https://feature-policy-demos.appspot.com/
https://developers.google.com/web/updates/2018/06/feature-po...
You also need to somehow <iframe> the ad content (and serve it from somewhere else with the feature policy header set/attribute on the iframe set) or else sacrifice use of these features on your own site.
The solution is to make the ads inert. They do not need to run code.