Home / Web Design / How to Add AdSense to WordPress

Latest News

23 May
Web Design
557 views
1 Comment

How to Add AdSense to WordPress

Using AdSense is one of the best ways to make a passive income online! This article will show you how to add AdSense to WordPress website and help you get started making money.

What is Google AdSense?

AdSense is a program from Google that allows webmasters to showcase/display ads on their sites. By setting it up, you can place contextual ads in various locations of your website, such as the sidebar, footer, or in-between posts.

Google will go through its ads database to find the most related ads based on your site’s content. For example, if you start a blog about shoes, it will put ads related to socks and footwear on your website.

Then, how can you get the income? Well, it runs on a CPC (cost per click) system – every time someone clicks on the ads, you will get a certain amount of money. The value is determined by factors such as keyword bids and quality scores.

Benefits of AdSense

The benefits that you can expect when using the Google AdSense:

  • Easy to use – to display the ads, you just need to get the AdSense code and paste it onto your WordPress site. Also, you can allow auto placement where ads are made automatically on the site without your intervention.
  • Flexible ad formats – adjust the ads based on the available space and layout of your website. Furthermore, the ads will be taken care of by Google.
  • Add multiple sites – you can set it on more than one website. The only requirement is that your sites should be in line with AdSense terms and policies.
  • Seamless support – the help center and AdSense community are ready to solve your problems. Moreover, you can find plenty of tutorials to help you learn more about AdSense.
  • Prompt payment – it has a monthly payment cycle, making sure that you’ll get your money on time.
How to Set up AdSense on Your WordPress Site?

In the following steps, you will learn how to configure ads to your site. Let’s take a closer look!

Step 1. Create AdSense Account and Connect to Website

First of all, you need to sign up for a Google AdSense account. Click Get Started and fill all the required fields. Subsequently, you’ll have to connect AdSense with your WordPress site through these steps:

  • On the Connect your site to AdSense page, there’s a set of code which you should embed to your site’s header. Remember, only copy the code and don’t click Done. Avoid closing the page, as well.
  • Enter your WordPress admin dashboard.
  • Click Appearance -> Theme Editor, then choose Theme Header in the Theme Files section.
  • Insert the code just above the </head> tag.
  • Select Update File.
  • Go back to the AdSense page, tick the I’ve pasted the code into my site checkbox, and press Done.
  • A dialog box will pop up to tell you that your account approval is in progress. Click Got it.
Step 2. Insert Ad Unit

Wait for the account activation process. You’ll receive an email after your site has been reviewed. Once your account is approved, you can start creating ad units:

  • Access the AdSense dashboard and click on My Ads in the left sidebar.
  • Navigate to Content -> Ad units and click the New ad unit button.
  • Pick the Ad type. As an example, let’s choose Text & Display ads.
  • Customize the necessary settings and make it suitable for your website design: adding ad units in google AdSense
  • Name – enter a unique name to represent the ads. It will be easier to manage multiple ads in the future.
  • Ad size – the shape and size of the ads will affect the view of your website. It’s recommended to select Responsive so the ads can adapt to all screen sizes.
  • Ad type – you can use this option to switch to another ad type, such as in-feed or in-article ads.
  • Press Save and get code. A new window with your AdSense code will appear: ad code for displaying Google AdSense to WordPress
  • Select and copy the code – you will need it for the next step.
Step 3. Embed Ad Code to WordPress

After getting the ad code, you should embed it to your site. There are two ways to do it – manually or using plugin:

Inserting Ads Manually

Here’s how you can add the ad code manually by using a widget:

  • Log in to your WordPress dashboard and navigate to Appearance -> Widgets.
  • To add a new widget, select Text to choose where you want to display the ads. In this example, we will place it at the footer. Then, press the Add Widget button.
  • Fill in the Title (or leave it empty) and paste the Google AdSense code in the Content field.
  • Once done, Save your changes.
Using Plugin

One of the easiest ways to insert AdSense code to WordPress is by installing a plugin. Here are some of the most popular ones from the WordPress plugin directory:

  • Ad Inserter – is an excellent ad placement plugin. It offers options to insert ads on your site – including before and after post, or between posts on blog pages. If you want to get additional features like sticky sidebar ads and sticky ad animation, you can purchase the Pro license, which starts from $22.31/year.
  • Advanced Ads – offers great ad management features, such as displaying unlimited ads, saving ads draft, and scheduling ads. If you purchase the Pro plan that starts from $43.51/year, you will get features like click fraud protection and alternative ads for ad-block users.
  • Woody ad snippets – allows you to create snippets and put ads into them. You can also insert ads to posts, pages, or categories. It’s free, but you can purchase the pro plan for $19/year to get access to the snippets library that contains a vast collection of pre-built snippets.
AdSense Best Practices

Here are a few best practices that can help one when using Google AdSense on their WordPress site:

DO’S
DON’TS
Conclusion

This tutorial has shown you how to add AdSense to WordPress and monetize your website. Give your ads more exposure by driving more traffic through high-quality content. However, make sure to follow the AdSense program policies to avoid account closure.

Comments (1)
  • author
    JamesAmorb

    Hey there, Thrilled to have found this fantastic website! Being a private injury lawyer, I survive for staying informed. And permit me tell you, the treasure of information here is a treasure trove!

Leave a Reply

error: Content is protected !!

Pin It on Pinterest

Share This

Share This

Share this post with your friends!