After you've generated the AdSense code, you need to paste it between the <head>
and </head>
tags of your site. We recommend you place the AdSense code on every page across your site to get the most out of AdSense.
Where to add AdSense code
The following HTML examples show you where to place the AdSense code.
Example of an HTML page before AdSense code has been added
<html>
<head>
This is the head of your page.
<title>Example HTML page</title>
</head>
<body>
This is the body of your page.
</body>
</html>
Example of an HTML page after AdSense code has been added in the <head>
tag
<html>
<head>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ignored1234567890123456" crossorigin="anonymous"></script>
This is the head of your page.
<title>Example HTML page</title>
</head>
<body>
This is the body of your page.
</body>
</html>