Where does one paste ‘the code’ to join google adsense

place-google-adsense

Google Adsense is an internet advertising agency, owned by Google. The service allows webmasters the ability to monetize their website by displaying relevant ads on their website. The possible ad formats include banners, text links and search windows. The webmaster always receives a sum of money (a few cents to tens of dollars) when a visitor clicks on the ads on the advertisers website and follows the link to the advertised website.
Google Adsense is dependent on Google Adwords, which allows companies to distribute their ads through the AdSense network.

Where to paste the ad code in your HTML

Is important that you paste the ad code between the <body> and </body> tags of your page. If you paste the ad code outside the <body> tags it will prevent your ads from appearing correctly.

Example HTML page before the ad 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 HTML page with the ad code added in the body
<html>
<head>
This is the head of your page
<title>Example HTML page</title>
</head>
<body>
This is the body of your page.
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– Homepage Leaderboard –>
<ins class=”adsbygoogle”
style=”display:inline-block;width:728px;height:90px”
data-ad-client=”ca-pub-1234567890123456″
data-ad-slot=”1234567890″></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</body>
</html>Note this is sample code only, please don’t use it in your own site’s HTML.
Positioning the ads on your site with HTML
Just like the other elements of your site (images, paragraphs, etc.), you can change the position of your Google ads by using HTML tags (<div>, <table>, etc.). For example, if you surround your ad code with the HTML tags <div align=”center”> and </div>, your ads will appear in the centerĀ of your page.

<html>
<head>
This is the head of your page
<title>Example HTML page</title>
</head>
<body>
This is the body of your page.
<div align=”center”>
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– Homepage Leaderboard –>
<ins class=”adsbygoogle”
style=”display:inline-block;width:728px;height:90px”
data-ad-client=”ca-pub-1234567890123456″
data-ad-slot=”1234567890″></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</body>
</html>

Note this is sample code only, please don’t use it in your own site’s HTML.

If you are using wordpress you should paste the code on the text editor.

Alternatively you can use Ad Inserter a wordpress plugin that helps you place ads on positions where you want them.

If you are yet to get your adsense account, see this post on how to get your adsense account approved fast in Nigeria.