How to Add AdSense Code to WordPress Header? [With Images]

Hurray! Just now created Google AdSense account and submitted the application for my website, now I would like to add AdSense code to WordPress Header file to get review them completely.

Anyone assist me to add AdSense code to WordPress header? So that I can monetize my website with Google Ads.

Google adsense

Yeah sure, in this article, we will help you to add AdSense code to WordPress Header file, so that you can hear good news from AdSense team.

#What is Google AdSense?

Google AdSense is one of the best monetizing programs for bloggers, nowadays Google AdSense simplified its approval process.

Sign up for Google AdSense program

First, you need to create AdSense account, after that, you will receive the email from them, here they will ask you to confirm your details, and they are:

  • Provide payment address
  • Verify Phone number
  • Connect your site to AdSense

These are the 3 steps you need to do after submitting the Google AdSense application so that Google AdSense team will assess your website and let you know the final confirmation.

1.Provide Payment Address:

Submitting the payment details are mandatory, for that you need to add bank account details in Google AdSense.

Make sure fill correct information in the payment forms, because these details will help you to receive money from Google AdSense.

You need to accomplish minimum $100 to get payment from Google AdSense, but Google AdSense payment method may vary from each country.

2. Verify Phone Number:

You need to verify your phone number to review your website successfully by Google AdSense team.

3.Connect your site to AdSense:

All these steps are mandatory to assess your website, Google AdSense team provides you sample ad code, so you need to copy the code and paste in your WordPress site to review them.

This step is very simple, just you need to add AdSense code to WordPress header file, we will help you to successfully add AdSense code to WordPress header file.

You may wonder if you know why Google AdSense is cuter than a kitten? And Google AdSense account approval process may help you to get an approval from AdSense team.

Hope now you aware of what is Google AdSense? and its approval process.

#Where is the head tag in WordPress?

Google AdSense team provides you the sample ad code to place on your WordPress site, after placing the sample ad code, AdSense start to analyze your site.

If you did not complete this step, then you can not hear from Google AdSense team anymore, so everyone who wants to get full AdSense account approval, they just need to add the sample ad code on their websites.

Now the question is where is the head tag in WordPress? Most of them got confused about the head tag in WordPress because you need to aware of technical coding skills to find out the head tag in WordPress site.

Google AdSense team suggest webmasters too, paste it into the html right after the <head> tag, so many were confused what is HTML? And where what is “paste it into the HTML right after the <head> tag” terms.

But its simple tactic, Each and every website have an activated theme, these theme files contain so many files, in those files, you do have “header.php” file, inside of the “header.php” file you will find, head tag.

In that “header.php” file you need to paste it into the html between the <head> and </head> tags, so that Google AdSense team able to review your website successfully.

No need to panic about the technical things, I’ll guide you about how to paste it into the HTML between the <head> and </head> tags.

#How to add code to head tag in WordPress?

Google AdSense team will provide you the sample ad code, and the Ad code is similar like this:

ad code

So you are not supposed to create any ad code at your end, you just need to copy it, and need to paste it into the html between the <head> and </head> tags of the “header.php” file.

Technical knowledge doesn’t require to add code to head tag in WordPress because I’ll help you to search the header.php file and HTML, head tags in that file.

At your end you just need to copy & paste add code to head tag in WordPress, Google AdSense team will take care the rest things on behalf you.

#Why we need to add AdSense code to WordPress header?

The logic is simple, Google is the world biggest company, and reviewing each and every application is not an easy task.

So Google has an algorithm that could identify you, if and only if you place add code to head WordPress.

So suppose assume that 10 websites applied for Google AdSense, but only 5 webmasters able to add AdSense code to WordPress header.

Now Google identifies that only 5 websites are showing interest in AdSense program, so they manually review an each and every application and they will send you the confirmation.

So for webmaster, website identification Google asks us to add AdSense code to WordPress header file.

After you add code to head WordPress, Google AdSense team will review your website and send you the confirmation.

Let me move on about how to add AdSense code to WordPress header?


Steps to Add AdSense Code to WordPress Header [With Images]


In this article, I’ll show you how to add AdSense code to WordPress header file manually, AdSense provided sample ad code webmaster need to paste it into the html between the <head> and </head> tags.

Google AdSense account approval process takes minimum 5 days, if you applied AdSense with the custom domain name, then you may get the notification in a couple of days.

Other than custom domain webmasters, such as BlogSpot, WordPress webmasters need to show patience after applying for AdSense advertisement program, because it may take one week or two weeks, or three weeks to get confirmation from AdSense team.

We can not assure you the time, it purely relays on the AdSense team availability, but you need to add AdSense code to WordPress header file perfectly to review them as soon as possible.

#Let me discuss you how to add AdSense code to WordPress Header file manually:

Step-1) To Manually add AdSense code to WordPress Header file, First, you need to have created AdSense account.

After submitting the application, you will receive an email from Google AdSense.

In the email, they will send you to add AdSense code to WordPress Header file.

Copy the same sample ad code.

Step-2) Now login to your WordPress site with your valid credentials.

You will be shown WordPress home page.

Here from left navigation panel, you need to look for “Appearance” option in WordPress (See the screenshot).

appearance option in wordpress

Step-3) Click on the “Appearance” option.

Now you will be shown the sub-option under the appearance node.

Here you need to click on the “Editor” option (See the screenshot).

Editor option in wordpress

Step-4) After clicking on the “Editor” option, right side you will be shown your WordPress theme files.

Now at the right side panel, you can see your activated theme files (See the screenshot).

left side theme options

Step-5) Now look for the “header.php” file form the right side .php files (See the screenshot).theme header.php file

For me it’s showing with “Theme Header” name and the file is “(header.php)” file.

Click on it.

Step-6) After clicking on the “Theme Header (header.php)” file, the editor area will be enabled for the header.php file for customization (See the screenshot).

Now you need to paste it into the html between the <head> and </head> tags.

Add AdSense Code to WordPress Header

#The header.php file structure is:

?>

<!DOCTYPE html>

<html>

<head>

                                   Paste your sample ad code here (As shown below)ad code

</head>

<body>

</body>

<?php

Now you need to paste the sample ad code in between the <head>sample code</head> tag of the “header.php” file (See the screenshot).

Step-7) After adding AdSense code to WordPress header.php file, you just need to “Update” the file to reflect the changes (See the screenshot).

update wordpress files

Scroll down the editor page, at the bottom, you will see “Update file” just click on it.

Yep, you have successfully added AdSense code to WordPress header file, now within a couple of days, you will get either reject or success email from the AdSense team.

You’re requested to follow, Google AdSense account approval process to understand the better techniques to get an approval easily.

Do not worry, if AdSense rejects your application, read Google AdSense rejection reasons & fixes and re-apply by following the same procedure.

Do you know? We can earn $50 per click from Google AdSense, and we can easily increase AdSense CPC by following the guide.

Use high paying Google AdSense keywords to increase Google AdSense revenue in a couple of days.

Google AdSense payment method will help you to understand the payment threshold information and distribution from AdSense team but for that, you need to add bank account details in Google AdSense.

After you successfully clear the two-step verification from Google AdSense, your account is able to create an ad unit in Google AdSense.

Google Matched content ads help to engage your customers and boost your earnings.

Having multiple approved AdSense account is violating terms and conditions, so instead of applying newly, you can easily add another website to Google AdSense.

Finally, this top secret to boost AdSense earnings of your blogs guide give you an awesome experience because I have shared the pro tips for newbie bloggers.

 FAQs about to Add AdSense Code to WordPress Header file

Q) Where is the head tag in WordPress?

A) in the headper.php file, you can find the head tag, and Google AdSense sample code needs to paste it into the html right after the <head> tag.

Q) Where is the head section on my WordPress site?

A) Each and every website has to activate the theme, after activating the theme, you can see the theme files under “Appearance-> Editor” option, so you can easily find the head section in your those files, such as “header.php”, “footer.php”, “main.php”, “index.php” and in etc. files.

These are the complete details to add AdSense code to WordPress Header file, kindly raise your queries through comment sections, we love to hear you, if you like our articles, then share the article on social media, it may help to someone else who is in need.

Leave a Reply

Your email address will not be published. Required fields are marked *

CommentLuv badge