Oh perfect, thank you very much. One last doubt. I need to put the following code in the template header for the whole website:
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
I do it this way to avoid having to put the entire code of the adsense ads and improve performance. As I have been able to find out, this is done through a hook, right? I am attaching images so that you can see how I have put it and tell me if it is correct.
Image 1: https://ibb.co/qM2h5M9
Image 2: https://ibb.co/CwfHyHq