In single-page applications, this can be called to clear and refresh the placement when navigating to a different URL.
In an SPA, where navigating to a new page doesn't trigger a full page refresh, you can keep a reference to the
NitroAd object you receive when calling createAd, and call this from your framework's navigation event.
Alternatively, you can remove the container div from the DOM, then recreate it and call createAd again. The div being
removed will be detected, and any related resources will be freed.