Hide ad banner

Hi guys. I know how to show an ad banner in my game, but how do i hide it?
There is only one level in my game and two widgets. I would like the ad to only be visible when one of the widgets is added to the viewport. Like when the menu widget is shown, the ad is shown too, but not during gameplay.


there a node for that " Hide Ad Banner"

Thank you sir.