ENTER AdSense in the Head

0

How can I enter an Adsense within a Head? I already have the structure and the code that I am going to place, how can I implement it?

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-pub-3875903759149355",
    enable_page_level_ads: true
  });
</script>
    
asked by Ricardo Emel Millán Arenas 16.08.2018 в 15:35
source

1 answer

1

Your site shows many HTMLs. These can have .html files, or be generated by .php or .asp, etc.

Each HTML file (generated or not) will have this structure:

<!DOCTYPE html>
<html>
<head>
...
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>

You must search and paste the AdSense code within that block. If there is more than one file, you will have to do it in all that are relevant.

    
answered by 16.08.2018 в 15:40