Close this search box.

How To Add Google Adsense To WordPress Website

You’ve spent countless hours designing and updating your website. But you’re not getting paid for all of your hard work.

Rather than letting your efforts go to waste, you can monetize your website by adding Google AdSense.

In this post, I have explained the entire process of adding Google Adsense to your WordPress website. It’s In-depth content and I have covered almost every part of Adsense that anyone would be interested in learning about.

What Is Google Adsense?

Google AdSense is a popular advertising network run by Google that allows you to automatically sell your website’s ad space to advertisers and get paid.

It allows publishers, content creators, and website owners to make money by displaying relevant ads to their visitors.

Google AdSense monetizes on the pay-per-click (PPC) model, meaning advertisers pay only when someone clicks on their advertisement.

Depending on your account settings, these advertisements can be textual, images, or videos.

The cost per click varies and is determined by several factors.

Typically pay per click (commonly known as CPC) lies between $0.01 – $5.

How Does Adsense Work?

Google seeks publishers and content creators who want to earn money by displaying advertisements on their websites and content via its Adsense program.

When an advertiser runs an ad campaign, Google displays the ads on sites and platforms that are registered with Google Adsense.

If you are registered with Google AdSense then from your approved Adsense account you will have to copy the HTML code and have to paste it into the header section of your website.

Google will analyze your website completely ( it will take up to 3-4 days ) and let you know if your website is suitable for displaying ads.

If your site passes the test, then you can create the ad unit from your account and insert it into your site at the appropriate place to display ads and get paid.

Requirements Of Adsense Account

  • Make sure your website has high-quality content
  • Your website should be at least a month old
  • Create Privacy Page
  • Create About Page
  • Contact Us Page
  • Have a good number of Post (minimum 10)
  • Sophisticated website
  • Easy navigation
  • Appropriate Content
  • Use top-level Domain
  • Have decent traffic
  • You should be at least 18 years old

Why Google Adsense Is Worth It

It was one of the first advertising platforms to reward publishers for displaying ads on their sites.

7 core benefits of Adsense that make it such a popular advertising platform.

1. Easy to get started.

2. Highly relevant Ads

3. High scalable

4. Attractive pay per click

5. Major advertisers onboard

6. Supports every type of websites (except for porn and gambling)

7. Strict quality control

Get Started With Adsense

First of all, sign up for Google Adsense.

If you already have a Gmail account you can use it to complete the sign-up process or else you can make a new account.

Enter the URL of your website and email address then click on save and continue.

AdSense signup

You’ll then be taken to a screen that will take you through the process of setting up your account. Click the Get Started button.

Google AdSense wizard

You’ll then be shown some code. You have to use it to connect your site to AdSense. This way, Google will be able to serve ads correctly.

Just copy the code and move to the next step.

adsense connect

How To Connect WordPress and Google AdSense

The best way to add any site-wide code to your website is by using a plugin like Insert Headers and Footers.

Once you install and activate the Insert Headers and Footers plugin. Go to the Settings » Insert Headers and Footers page. Here, you need to paste your Google AdSense code in the header section (as shown below).

header footer

Don’t forget to click on the ‘Save’ button to store your changes.

Come back to the Adsense account and check on ‘I’ve pasted the code into my site’ followed by the Done button.

Usually, it takes up to 3-4 days to complete the verification process. Once your application is approved, you can log in to your Adsense account to get your ad code.

To get it, click on Ads followed by Ad Units.

Adsense will give you four options to create a new ad unit.

  • Display ads
  • In-feed ads
  • In-article ads
  • Multiplex ads
  • Search engine

adsense ad unit

I recommend starting with Display ads. 

Once selected, you will be prompted to the next screen where you have to provide the ad name, have to select the ad size and choose the type.

How to do this? We will go one by one.

adsense ads types

Name: The ad name can be anything. It is only used for internal purposes.

Ad size: You will get two opinions Responsive and fixed. Always choose a responsive size to display ads on your website.

Ad type: Square, Horizontal, and Vertical. Now it totally depends on you to choose which type of ads you want to display on your website.

Once you complete the customization click on the ‘create‘ button.

A new pop-up window will open with the Ad code. Yes…!! that’s it you have successfully generated your first AdSense ad code.

For further steps, copy the code and follow the below instructions.

generate ad code in adsense

Adding Ad Code To WordPress Website

Now it’s up to you, where you want to display the ads on your website. Most commonly, people love to display ads in the sidebar.

To do so log in to your WordPress admin panel.

Head to ‘Appearance’ and click on ‘Widget’. Locate ‘custom HTML’ drag it into the sidebar section and paste the copied ad code.

insert adsense code in html editor

That’s all… ads will start displaying on your website.

Start working on link-building strategies and SEO to drive more and more traffic to generate more revenue.

However, adding individual ads to different locations/ pages on your website takes a lot of time.

To solve this, Google has introduced auto-ads. This allows you to display ads throughout the website without adding the code on every page.

Simply turn on the auto ads option on the approved site and let Google AdSense figure out the highest paying location, ad size, and type.

If you want to use an auto-ads feature on your website then go to Ads >> Overview choose the AdSense-approved site and turn on the auto ads option by clicking on the ‘pencil icon’.

enable adsense auto ads

As I’ve shown you in this article, adding Google Adsense to your WordPress site is a pretty simple process.

However, to increase your Adsense earnings, you need to constantly optimize your ads by analyzing the performance of individual ad units and trying different ad types and positions on your site.

Can I Use My Blogger Or YouTube Adsense Account For A WordPress Site

Yes, you can.

You just have to upgrade your Adsense account from a ‘hosted account’ to a ‘Fully approved account’.

To do so simply log in to your Adsense account and click on ‘Site’ followed by ‘Add Site’. You will be given the option to enter the URL of your website. Enter your website URL and submit it.

add new site to google adsense

In the next step, you will be asked to copy and paste the HTML code into the header section of your website for verification purposes. Use the header and footer plugin for that, just like we did previously.

adsense verification code

Google will verify your website and notify you via email whether or not your application has been approved.

How Much Can You Earn Through Google Adsense

Google Adsense is one of the best and most popular ways to monetize your website.

As of September 23, 2021, the share breakup of Google Adsense is 68 %: 32%. That means Google will keep 32% of the revenue generated from advertisements and the remaining 68% will be sent to you.

Let’s make a simple calculation:

Suppose the total revenue generated is $1000 So, Google will keep $320 and you will get $680.

Revenue Per Thousand Impressions (RPM)

For every 1000 impressions, the estimated earning will be calculated as RPM = (Estimated earnings / Number of page views) * 1000

  • If you earned an estimated $0.15 from 25 page views, then your page RPM would equal ($0.15 / 25) * 1000, or $6.00.
  • If you earned an estimated $180 from 45,000 ad impressions, your ad RPM would equal ($180 / 45,000) * 1000, or $4.00.

All the things will be taken care of by the Google team. They will make the calculation and collect the payment from the advertisers, take their share and send your share to you.

It’s hassle-free because you don’t have to deal with advertisers or worry about collecting money.

I hope this article will help you in placing your AdSense ad code on your website in a proper way.

Apart from Adsense, there are some other ways through which you can monetize your website. You can check my detailed post on 11 legit ways through which you can monetize a website.

If you found this guide helpful, do support me by sharing it. If you need any assistance or help comment below I will definitely help you with that.

FAQs On Google Adsense

It’s very tempting to click on your own ad or ask your family members to click on your behalf from their devices.

Please don’t do this.

Google algorithm is very smart to detect such activities. If you get caught, your Adsense account will get banned for a lifetime.

Please note that Google only allows one Adsense account per person.

To get paid you have to reach the minimum threshold of your account (i.e $100).

By default, the minimum threshold is $100, you can adjust it anytime. Once you reach the target, Google will release the payment by the 21st of that month.

As per the payment method you have selected you will get paid. Either it is

  • Wire Transfer
  • Check
  • Western Union etc

Google may reject your application if your website doesn’t meet the terms and conditions of Adsense.

You will get an email with full detail of why your application got rejected. Work on them and reapply.

In most cases, the cause is related to issues with your website, which might include lack of content, code or security issues, or content that Google believes is plagiarized. ( and are two different things) won’t allow you to add Google Adsense to your website. However, if you upgrade your account to a business plan then you can.

It’s really difficult to define the ideal CTR of Adsense. Ad clicks depend on so many factors. Like:

  • Website topic
  • Audience Type
  • Ad placement
  • Quality of Ads and so on

However, from your Adsense dashboard, you can check if your website is getting a good CTR or not.

It totally depends on your website layout.

Try to put it in between the primary content, in the sidebar, and in the footer section of your website. But don’t stuff your post with ads. Your visitors will get angry and leave your site immediately.

Although ad placement is key, we’ve found that the best sizes are 336×280 and 300×250. These ads tend to fit on most screen sizes and have the best pay rate as well.

No, both are different.

Adwords allow you to advertise your product or website on Google network whereas Adsense allows you to make money by displaying ads on your website.

If your earnings match the required threshold, then your payment is processed and released by the 21st of that month.

7 thoughts on “How To Add Google Adsense To WordPress Website”

  1. I do believe all the ideas you’ve introduced to your post.
    They are very convincing and will certainly work. Still, the posts are
    very short for novices. Could you please prolong them a bit from subsequent time?
    Thanks for the post.

  2. My Google AdSense account is disabled I have $480 in my account.

    How I can get access to my account back?

  3. Hello would you mind letting me know which web host you’re utilizing? I’ve loaded your blog in 3 different web browsers and I must say this blog loads a lot quicker then most. Can you suggest a good hosting provider at a honest price? Thanks a lot, I appreciate it!|

  4. Hello friends, fastidious article and good urging commented here, I am actually enjoying by these.

Comments are closed.

Sign up for our Newsletter


Award winning hosting company for your website


Best page builder for creating a stunning website


The most popular theme among webmasters

We use cookies for essential website functions and to better understand how you use our site, so we can create the best possible experience for you ❤️

elegantespace logo png

How To Add Google Adsense To WordPress Website (Write Your Opinion)