Table of contents
Get the industry’s fastest hosting for WordPress◦ 99.999% uptime
◦ Comprehensive security
◦ 24/7 support

WordPress GuideMonetize → Google AdSense

How to add Google AdSense to WordPress

Google AdSense is one of the most popular and widely used tools that help you monetize your site. With this program, you can automatically sell space on your site to various advertisers and get paid. Google AdSense is one of the easiest ways to start earning extra money online through your site.

In today’s article, we’ll discuss how to add AdSense to WordPress, together with some tips and best practices to help you monetize your website and make the best out of your ad space.

Get fast, reliable hosting for WordPress

Power your site with the industry’s fastest, most optimized WordPress hosting

What is Google AdSense?

Google AdSense is an advertising program from Google that gives website owners and bloggers an opportunity to showcase ads on their websites. In other words, they get to earn money by showing images, videos, text, or some other interactive forms of advertisement in different locations of their site. For instance, you can place them in the footer, sidebar, or in-between posts.

Such ads are highly relevant since they are targeted by audience and site content. Google goes through its ads database and looks for the most related ads based on the overall content you post on your website. For instance, if you post about clothes, you’ll get ads related to shirts and pants on your site.

Adding AdSense on a WordPress site is hassle free, since Google is there to maintain and administer relationships with your advertisers. Also, Google collects the money and splits it — they take their cut and send the rest of the payment to you.

This program runs on a cost-per-click (CPC) basis. That means every time a visitor clicks on the ad on your site, you get a certain amount of money. The amount is determined by various factors like quality scores or keyword bids.

Benefits of setting up Google AdSense on WordPress

Before we continue with the details, let’s review the benefits you get when using Google AdSense

Now that we’ve covered good things about this tool, let’s go over how to add AdSense to WordPress.

Getting started with Google AdSense

How to add AdSense to WordPress

When signing up for an AdSense account, you can use your existing Gmail account. Once you’re done with your application, you’ll need to wait until the Google team reviews it. This can take from a couple of hours to a few weeks.

Once your account is approved, log in and get your ad code. That’s the code you’ll later place on your site when you want to display ads.

Google recently released auto ads, which means you can paste one piece of code only and they automatically decide where, when, and how much your ads are going to be shown. Still, many website owners still go with the manual method and prefer to individually place ads on their sites.

Start your Google AdSense account

So, you got the ad code, which means now it’s time to embed it on your WordPress website. You can do it in two ways — by using a plugin or manually.

So, as we’ve mentioned, the first thing you have to do is to sign up for your AdSense account. Click Get Started to see the required fields you need to fill. Now, it’s time to connect Google AdSense account with your WordPress website.

Connect to your WordPress website

To do that, follow these steps:

Insert ad unit

How do you add ads to WordPress? Once your account is reviewed and finally activated, you’ll receive a confirmation email. That’s the point where you can start with ad units:

Embed ad code to WordPress

If you want to add the code manually, follow these steps:

If you’d rather go with an easier option, install an ad plugin. WordPress offers many of them, and here are two really popular ones:

Best practices for Google AdSense

Now that we’ve covered how to add AdSense to WordPress and some other technical stuff, let’s see how to make the most out of this tool

How to use Google AdSense on WordPress

How not to use Google AdSense on WordPress

Getting started with adding Google AdSense to WordPress

AdSense is an extremely useful tool. Google’s advertising program allows you to sell space on your website and earn extra money by monetizing it. You can locate the ads all across your website, but also get some help from the program itself — for example, by using AdSense heatmap

Google AdSense provides numerous benefits: it’s simple and free to use, uses ads that fit the context of your entire website, and meets quality standards — plus, you can customize the ads the way you prefer.

The program itself runs on a cost-per-click basis, which means the more unique visitors click on your ads, the more money you get to earn. However, the total earnings are determined by different factors such as quality scores or keyword bids.

Scaling your business and your site also requires flexible, reliable hosting with a provider who has experience in WordPress sites. Liquid Web has been leading the industry with the fastest, most secure servers available for WordPress hosting. Choose your server type and the level of management that best suits your needs.

Click below to explore all of our hosting options for WordPress or start a chat with one of our expert support team members now to get more guidance.

Ready to get started?

Get the fastest, most secure WordPress.org hosting on the market.

Additional resources

Monetize your WordPress site →

Three strategies to help you earn some income from the site you’ve worked so hard on

How to monetize your blogs without ads →

How exactly do blogs make money without ads, anyway?

WordPress conversion tracking →

Best practices, tools, and techniques to help you uniquely optimize your site

Aaron Binders works as a Linux Support Technician at Liquid Web and focuses on resolving server-side customer issues. When not spending time with his family, he has a passion for sports such as football and boxing, as well as reading the latest ICT magazines.