react-gpt
react-gpt copied to clipboard
The ad placeholder from the Google Publisher Console are not deleted when the component is unmounted
When the Google Publisher Console is open on a page with ads, if the Bling get unmounted the yellow ad placeholder stays displayed.

The ad seems to be properly removed though because it does not appear in the bottom panel of the Google Console. :-)
My guess is GPC is not rendered inside Bling. You could query select and remove the GPC DOM wrapper or call some GPC destroy method... Id execute it only if I found the feature flag for ?goog_fc or whatever the flag is to turn it on.
That should be pretty straight forward if you figure out the wrapping div or if the console comes with an API to destroy itself. PR it!