How to Properly Add Google AdSense to Your WordPress Site (2024)

Do you want to add Google AdSense to your WordPress website?

Google AdSense is one of the easiest ways to start making money online with your website. It allows you to automatically sell your website’s ad space to advertisers and get paid.

In this article, we will show you how to add Google AdSense in WordPress, along with some best practices and tips to increase your earnings.

How to Properly Add Google AdSense to Your WordPress Site (1)

What is Google AdSense?

Google AdSense is an advertising network run by Google that allows bloggers and website owners an opportunity to earn money by showing text, images, videos, and other interactive advertisem*nts on their websites. These ads are targeted by site content and audience, so they’re highly relevant.

Google AdSense is hassle-free because you don’t have to deal with advertisers or worry about collecting money. Google administers and maintains relationships with advertisers. They collect the payment, take their management fee, and send the rest of the money to you.

AdSense offers cost-per-click ads (CPC), which means that you earn money every time a user clicks on an ad on your website. The amount received per click varies based on a variety of factors.

Getting Started with AdSense

The first thing you need to do is sign up for a Google AdSense account. If you have a Gmail account, then you can use your existing account to sign up.

Once you’ve submitted your application, you will need to wait for the Google AdSense team to review it. This may take a few hours to a few weeks for some publishers.

Once it is approved, then you can log in to your AdSense account and get your ad code. This is the code that you need to place on your WordPress website to display ads.

With Google AdSense auto ads, you can paste just one piece of code and then Google automatically decides when, where, and how many ads to show on each page.

However, many publishers use the manual method to individually place ads on their websites.

We’ll show you both methods. We recommend starting with the manual ad placement first. Once you have started earning, then you can experiment with auto-ads to compare them yourself.

Video Tutorial

Subscribe to WPBeginner

If you’d prefer written instructions, just keep reading.

1. Manually Place Google AdSense Ad Code in WordPress

You’ll start by clicking on the Ads menu in the left column and then switching to the ‘By ad unit’ tab. From here, you need to click on ‘Create New Ad.’

You will be asked to choose an ad type. You can select from Display ads, In-feed ads, and In-article ads.

If you are unsure, then start with the display ads.

How to Properly Add Google AdSense to Your WordPress Site (2)

Next, you need to provide a name for this ad unit and select the ad size and type.

How to Properly Add Google AdSense to Your WordPress Site (3)

The name of the Ad is only used for internal purposes so you can name it anything like “SiteName Sidebar.”

The next option is choosing the Ad Size. While Google offers a wide variety of ad sizes, there are certain sizes that are listed under recommended because those are the most popular among advertisers. See our guide on the best Google AdSense banner sizes for more details.

You can also choose whether you want your ad to be responsive or fixed. We recommend choosing responsive ads as they work well on all devices and screen sizes.

Next, click on the ‘Create’ button to continue.

AdSense will now generate the ad code for you. It contains the unique ad unit ID and your publisher ID.

How to Properly Add Google AdSense to Your WordPress Site (4)

Simply copy your ad code and paste it into a plain text editor like Notepad or TextEdit. You will need it in the next step.

Adding Google AdSense in WordPress

Next, you need to determine where you want to show the ad on your website. Ads are most commonly displayed in the sidebar. You can add Google Adsense to your sidebar by using WordPress widgets.

Simply go to the Appearance » Widgets page in your WordPress admin area. Next, click the ‘+’ button to add a ‘Custom HTML’ widget block to the appropriate widget area.

How to Properly Add Google AdSense to Your WordPress Site (5)

Next, you’ll need to enter the Google AdSense code in the Custom HTML widget block.

After that, don’t forget to click the ‘Update’ button.

How to Properly Add Google AdSense to Your WordPress Site (6)

For better placement control and tracking, we recommend checking out a WordPress plugin like Advanced Ads or AdSanity.

You can see our guide on the best ad management WordPress solutions for more details.

2. Add Auto-Ads AdSense Code in WordPress

Adding individual ads to different areas of your website takes a lot of time. Most beginners struggle to find the best locations to display ads on their sites.

To solve this, Google introduced auto-ads. This allows you to simply add one code snippet to your site and let Google AdSense figure out the highest paying location, ad size, and type.

The disadvantage of this method is that you have less control over ad placement on your website.

If you want to use the auto-ads feature, then this is how you’ll add Google AdSense to your website.

First, log in to your Google AdSense account and click on the Ads tab. Next, you need to click on the ‘Get Code’ button to generate the auto-ads code.

How to Properly Add Google AdSense to Your WordPress Site (7)

AdSense will now generate a code snippet with your publisher ID and display it. You can now copy and paste this code into a text editor.

How to Properly Add Google AdSense to Your WordPress Site (8)

Adding AdSense Auto-Ads Code in WordPress

The auto-ads code uses a single code snippet to generate ads everywhere on your WordPress blog. This means you need to add the code to all the pages where you want to display the ad.

One way to do this is by adding the code to your WordPress theme’s header.php file. However, the disadvantage of this method is that your ad code will disappear if you update or change your theme.

The best way to add any site-wide code to your website is by using a plugin like WPCode.

How to Properly Add Google AdSense to Your WordPress Site (9)

WPCode makes it safe and easy to add header and footer code in WordPress, without editing your theme files. This means that you’ll be able to save your ad code even if your theme changes.

First, you need to install and activate the free WPCode plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Note: The free version of WPCode has everything you need to add custom code snippets to your site. However, if you want advanced features like conversion pixels, scheduled snippets, code revisions, and more, you can upgrade to WPCode Pro.

Upon activation, go to the Code Snippets » Header & Footer page. From here, you need to paste your Google AdSense code in the header section.

How to Properly Add Google AdSense to Your WordPress Site (10)

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

The plugin will now add the ad code on all pages of your website. It may take Google AdSense some time to start showing ads.

Related: See our guide on how to add header and footer code in WordPress for more details.

You can also use the WPCode plugin to automatically display Google AdSense ads in specific areas like before the beginning of a post, after a post, before or after a paragraph, and more.

For step by step instructions, see this guide on how to insert ads within your post content in WordPress.

AdSense Best Practices and Frequently Asked Questions

Over the years, we’ve answered several AdSense-related questions. Having used AdSense on several of our sites in the past, we’ve learned a whole lot about optimizing. Below are some AdSense best practices and frequently asked questions.

What’s the best AdSense Ad Size?

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.

What’s the Best AdSense Placement?

This entirely depends on your layout. The goal is to get more impressions and clicks, so you want to place your ads in a more prominent spot. We have found that ads within post content toward the top of the screen tend to get the most clicks.

Several users have asked us about adding AdSense in a floating widget because it will be very prominent. We strongly recommend against that because it is not allowed by Google Terms of Service. If you violate their TOS, then you can get banned from the program.

Can I click on my own Google AdSense Ads?

Often beginners are tempted to click on their own ads or ask their family members to click on their ads. Please don’t do that. Google’s algorithm is very smart and knows when you’re clicking on your own ad. This can get you banned from the program.

To learn more, see our guide on how to prevent invalid AdSense clicks in WordPress.

What is Page RPM in Google AdSense?

RPM stands for Revenue per Mille, meaning revenue per 1000 impressions. This is determined by multiplying the total number of clicks and cost per click and then dividing that by the total number of pageviews.

Can I use my Blogger or YouTube AdSense account with WordPress?

Yes, you can. If you started using AdSense on one of Google’s hosted platforms like Blogger or YouTube, then you can change your AdSense account type and use it with WordPress. You’ll need to provide Google AdSense with the URL of the site you want to monetize by filling out an application form.

Simply log in to your AdSense account and then under ‘My Ads’ click on the ‘Other Products’ option. Next, you need to click ‘Upgrade now’ and complete the application form.

What is CTR in Google AdSense?

CTR or click-through rates differ vastly for different kinds of websites. Your ad clicks depend on a lot of factors, like your website’s topics, your audience type, ad placement on your site, and more. The ideal CTR for Google AdSense is really hard to define because you don’t have access to the click rates of other websites like your own.

However, Google AdSense has built-in tools that will start showing you messages if your site is not getting a good CTR. You can follow the optimization guides shown inside the Google AdSense dashboard to improve your ad revenue.

You may also want to see our guide on how to set up Google Ads conversion tracking in WordPress.

When and how does Google AdSense pay publishers?

Each month, Google AdSense calculates your previous month’s earnings and shows them on your ‘Transactions’ page. If your earnings match the required threshold, then your payment is processed and released by the 21st of that month.

There are multiple payment methods available, including direct electronic transfer, wire transfer, check, Western Union, and more.

Why did Google AdSense reject my application?

Google Adsense may reject your application if your website is brand-new or otherwise doesn’t meet the AdSense program policies or their terms and conditions.

If they do, you could always consider using another ad management plugin or try another way to make money with your WordPress site.

What are the requirements to get Google AdSense application approved?

Here are the minimum requirements to get your Google AdSense account application approved.

  • Your website and all its content must comply with AdSense program policies and terms and conditions.
  • Your website should be at least 6 months old.
  • You, the applicant, must be over 18 years old.

Note: Even if your application meets all the requirements, Google AdSense still reserves the right to decline your application.

Can I add Google AdSense in my WordPress.com blog?

WordPress.com does not allow you to add Google AdSense to your website unless you upgrade to the Business plan. For more on this topic, please see our guide on the difference between WordPress.com vs WordPress.org.

What is the difference between Google AdSense vs Google AdWords?

Google AdWords allows you to advertise on other websites, including those participating in the Google AdSense program.

Google AdSense allows you to make money from your website by showing ads on your website.

How do I get rid of Adsense Ads?

If Google Adsense is displaying too many ads or you’re seeing ads in random places on your site, you’re probably using Google Adsense Auto ads.

To turn off Auto ads, sign in to your Adsense account and go to Ads » Overview. Next, click on the ‘Edit’ icon next to your website. You can disable the Auto ads options in ‘Site Settings’ to completely remove Auto ads on your site. Or, you can select the ‘Page Exclusions’ option to disable Auto ads from specific pages.

We hope this article helped you add Google AdSense to your WordPress site. You may also want to check out our guide on how to increase your blog traffic, and the best email marketing services to grow your subscribers.

If you liked this article, then please subscribe to ourYouTube Channelfor WordPress video tutorials. You can also find us onTwitterand Facebook.

How to Properly Add Google AdSense to Your WordPress Site (2024)

FAQs

How to Properly Add Google AdSense to Your WordPress Site? ›

In your WordPress site's dashboard, go to Advanced Ads → Settings. In the plugin's admin section, click the Adsense tab. On the next page, click Connect To Adsense to start the process of connecting your Adsense account to your WordPress site. Choose the relevant Google account to connect with your WordPress site.

How do I add Google AdSense to my WordPress website? ›

In your WordPress site's dashboard, go to Advanced Ads → Settings. In the plugin's admin section, click the Adsense tab. On the next page, click Connect To Adsense to start the process of connecting your Adsense account to your WordPress site. Choose the relevant Google account to connect with your WordPress site.

Is AdSense allowed on WordPress? ›

If you want to run Google Adsense ads you need to have a self-hosted WordPress.ORG software install. See the NOTE below. No blogger initiated advertising is allowed on WordPress.COM hosted blogs. The only advertising program at WordPress.com is called WordAds and it's for blogs on their own domains.

How do I get AdSense approval for WordPress? ›

Don't fill your blog with plagiarized articles. Write some unique, valuable, engaging, and high-quality content for your targeted audience. Write in-depth and well-optimized blog posts with above 500–600 words. Also, Adsense will not approve your application if you write Adsense-prohibited content.

How do I integrate my website with AdSense? ›

How to add a new site
  1. Sign in to your AdSense account.
  2. Click Sites.
  3. Click +New site.
  4. Enter the URL of your site. ...
  5. Click Save. ...
  6. Select the check box to confirm you've finished, then click Verify. ...
  7. Click Request review.

How to add AdSense code in WordPress without plugin? ›

Once you have your adsense code,
  1. Login to your wordpress blog and click on widget under appearance.
  2. Select the sidebar you want to use (depends on your WordPress theme)
  3. Select Text widget and edit it and paste the Adsense code.
Mar 9, 2022

How much does AdSense pay WordPress? ›

Earning from a blogging through AdSense depends up on the Traffic if the traffic to your website is more then your earning will be more. If the organic traffic to your website is 50 K per month then you can earn nearly 150$ per month.

Can I monetize my WordPress website? ›

Yes, you can also monetize your WordPress site by offering services such as consulting, coaching, or freelance work. You can also create and sell digital products like e-books, courses, or printables on your site.

What content is not allowed on AdSense? ›

We do not allow content that: includes graphic sexual text, image, audio, video, or games. contains non-consensual sexual themes, whether simulated or real. promotes the creation or distribution of content that has been altered or generated to be sexually explicit or contain nudity.

When should I add AdSense to my blog? ›

There is no right or wrong time to begin monetizing your blog if you have an interest in doing so. And as long as you do so in such a way that you will not be hampering the readability of your blog, there is no reason why you should not start monetizing as soon as you feel your blog is ready.

How much traffic is needed for Google AdSense? ›

There are no minimum traffic requirements to use Google AdSense. You can sign up for an AdSense account as long as your traffic is high-quality and authentic. One caveat: you won't be able to pull out your payment until you meet an earnings threshold of $100.

How do I know if my website is approved for AdSense? ›

Sign in to your AdSense account. Click Sites. In the list of sites, find your site and check its approval status and ads. txt status.

How do I add AdSense to a WordPress website? ›

Here's a step-by-step guide to help you with the process:
  1. Login to your AdSense account. ...
  2. Access your AdSense code. ...
  3. Customize your auto-ads. ...
  4. Generate the auto-ads code. ...
  5. Copy the auto-ads code. ...
  6. Log in to your WordPress dashboard. ...
  7. Add the auto-ads code using a plugin. ...
  8. Manually add the auto-ads code (alternative)
Jan 10, 2024

How much does AdSense pay per 1000 views on a website? ›

How Much Does Adsense Pay Per 1,000 Views? Adsense pays $10-20 for 1,000 views on average. The total earnings depend on the website category, the type of content you provide, the amount of website traffic, where users are located and how ads are set up.

Can you put AdSense on a free WordPress blog? ›

It's not possible with a free WordPress.com plan, you must have to buy a premium plan for that. WordPress doesn't allow Adsense with the free plan.

How do you add ads to your website in WordPress? ›

Inserting Ads Manually
  1. Log in to your WordPress dashboard and navigate to Appearance → Widgets.
  2. To add a new widget, select Text to choose where you want to display the ads. ...
  3. Fill in the Title (or leave it empty) and paste the Google AdSense code in the Content field.
  4. Once done, Save your changes.
Mar 26, 2024

How do I apply for Google AdSense for my website? ›

Visit https://adsense.google.com/start/.
  1. Click Get started.
  2. Sign in to your Google Account.
  3. Choose whether you'd like AdSense to send you customized help and performance suggestions. ...
  4. Select your payment country or territory. ...
  5. Review and accept the AdSense Terms and Conditions.
  6. Click Start using AdSense.

How do I add Google pay to my WordPress site? ›

  1. Step 1: Install the WPForms Plugin. ...
  2. Step 2: Activate the Stripe Addon. ...
  3. Step 3: Connect WPForms to Your Stripe Account. ...
  4. Step 4: Enable Payment Element Mode. ...
  5. Step 5: Create Your Stripe Payment Form. ...
  6. Step 6: Configure Your Stripe Form Payment Settings. ...
  7. Step 7: Publish Your Google Pay Form.
Feb 28, 2024

Top Articles
Latest Posts
Article information

Author: Kareem Mueller DO

Last Updated:

Views: 6349

Rating: 4.6 / 5 (46 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Kareem Mueller DO

Birthday: 1997-01-04

Address: Apt. 156 12935 Runolfsdottir Mission, Greenfort, MN 74384-6749

Phone: +16704982844747

Job: Corporate Administration Planner

Hobby: Mountain biking, Jewelry making, Stone skipping, Lacemaking, Knife making, Scrapbooking, Letterboxing

Introduction: My name is Kareem Mueller DO, I am a vivacious, super, thoughtful, excited, handsome, beautiful, combative person who loves writing and wants to share my knowledge and understanding with you.