Can't hide ads

I have a simple script, so when the player dies, an ad pops up, but when I load the scene, the ad shows even though I haven’t called the script yet! Is there anyway to hide the ad? It’s raycast is blocking all the buttons, so I can’t press any of then!!

Rather than trying to hide the add you should look into the problem of the add appearing when it doens’t need to appear. You probably put the code in Update so it runs when you load the scene. Try putting it in an empty void. Maybe this can help you Implementing Unity Ads (Unity Service) - Game Mechanics - Unity 3D - YouTube