Disabling clicking on advertisments

Hello!
Is there an easy way to disable clicking during an advertisement? It interferes with buttons behind the advertisement.
Thanks.

You can do like this: draw a full-screen transparent rectangle just behind the advertisement and check its “Raycast Target” property check box. Then the rectangle “catches” clicks while the advertisement is active so it looks and behaves like buttons are disabled during the advertisement.