want to display interstitial ads asynchronously.

I want to display interstitial ads while waiting for some action, for example, an API call, so that the user can watch the ad and wait for the action to be completed.
It seems like it would be good to display interstitial ads asynchronously in a custom action, but it doesn't work very well. Is this possible?Has anyone been able to do it?

1