What's WP
Our everything is about WordPress - best choice of WordPress users!
How to Add Google Adsense Ad to WordPress Sites?

How to Add Google Adsense Ad to WordPress Sites?

google adsenseGoogle Adsense is one of the most effective ways to make money online. In this article, we just come out the detailed guidelines to help webmasters add Google Adsense ads to their websites to make money.

In order to increase revenue, bloggers are expecting to position ads on different places of the websites, especially the attractive places that have high click-through rate (CTR). As the better design gets better CTR, we suggest adding Google Adsense ads on the right places. In general, the recommend places are:

  • Top Banner of your website(468 x60 px)
  • Sidebar (Varies from 125×125 px up to 300×250 px)
  • Content (468×60 or 300×250)

No matter where you want to place the ad on, you need make it to consistent with the website design as well as not to be intrusive with readers. In this article, we show careful steps to add Google Adsense ads to WordPress website header, menu bar, and sidebar.

Create Your Ads

In the following, let’s begin to create your ads.

  1. First of all, you need to log in the existing Google Adsense Account, or register a new one directly on the website.
  2. Then, click “My Ads” menu to create your own advert for the website. Before choosing a specific ad type, make sure where you will put the ads.
  3. create Adsense ad

  4. Feel free to play around with the remainder settings, and click “Save and get code” to complete.
  5. Adsense ad code

Add Google Adsense Ads on Website Header

  • Log into WordPress dashboard, go to Appearance-> Editor and find header.php file.
  • Open and edit hearder.php file, and paste the Adsense code into the file, like the following:
  • add Adsense code to header

  • You’d better use the center tags like <center>Google Adsense Code</center> to make the ads center if your website is centered.

Add Google Adsense Ads Under Navigation Menu

Many people also like to add Google Adsense ads under the navigation menu as it’s quite easy to mislead customers to click on ads and make huge money. If you want to use Link Unit, then I recommend you making it look like navigation bar. You can easily make this by customize the background and text link color based on your navigation menu. Just like the following:

Link Unit Adsense

As for the Leaderboard, we suggest you use rich media ads because they are better eye-catching.

You can easily add ads by log into WordPress dashboard go to Appearance-> Editor and find header.php file. Then paste the Adsense code into the bottom of the file. The process is quite similar with adding Adsense ads to website header.

Add Google Adsense Ads to the Sidebar

As well, some people also place ads on the sidebar. It is also easy to manage. You can simply paste the ad code into the widget.

In the WordPress admin panel, go to Appearance -> Widgets.

wordpress widget

Click and drag a “Text widget” into the sidebar.

drag text widget

Paste the Adsense code into the widget and click save to complete the process.

paste adsense code into widget

Google Adsense WordPress Plugins

The process of adding Adsense ads is not difficult for some experienced webmasters, but for newbies, this is still complicated. Luckily, there are some best WordPress plugins which can help you manage the process easily and fast. Below are the best WordPress plugins for AdSense, which are gathered to help you implement, control and overview AdSense ads with ease.



AdRotate is one of the most popular WordPress plugin for AdSense, coming with the best way to put ads on your website. It has understandable and intuitive interface, allows you add and manage the ads from the dashboard. AdRotate also supports unlimited groups for banners, which allows you tie certain banners to different areas of the website. Note that this plugin requires running on PHP 5.2 or higher, and compatible up to the latest WordPress 3.6 already.

best wordpress plugin for adsense - AdRotate

Quick AdSense


Quick AdSense is WordPress plugin for ads management. It is popular for the quick and flexible method to ad AdSense and code into a blog post. Featuring a simple page with simple configurations, it doesn’t require much coding knowledge. It provides default ads position setting, however, it can also allow you display the ads anywhere within a post randomly. It more likely to catch attentions for regular visitors.

best wordpress plugin for adsense - AdRotate

Google AdSense Plugin


Google AdSense Plugin is a professional WordPress plugin that allows Google AdSense implementation into your website. In addition to the general plugins allow you insert the ads’ code into your blog or site, it also allows you customize them easily. Besides, you can choose to insert the ads automatically, or you can decide the place where they appear. As this plugin has been translated into 8 languages, it is welcomed by users worldwide presently.

best wordpress plugin for adsense - AdRotate

Easy AdSense


Easy AdSense offers an easy solution to produce revenue from your website by applying Google AdSense. It has a lot of options that allow you to put links or AdSense Block in the footer or header, and display AdSense blogs based on the length of the post. With flexibility and easy control, you can make money easily for your site.

best wordpress plugin for adsense - AdRotate

Ad Injection


Ad Injection is a great AdSense plugin for WordPress sites. You can set the position of the top and bottom advert by character or paragraph. You can manage the number of ads based on the length of a post. This plugin also comes with the ability to exclude ads from blockquote and pre sections, and custom ads exclude tags. With it, you can make money online easily.

best wordpress plugin for adsense - AdRotate


Joyce is a professional writer & SEOer who loves trying new things and sharing the experience through blogging. She loves clean design, playing with different WordPress themes, SEO, etc. Now she is very struggle with purchasing a bubbling apartment in downtown. You can help her by clicking our ADs or making a purchase via our links ;-)


Want to Learn More About WordPress?

Get Our Free Themes, Plugins, Support, SEO Tips, and Other Tutorials!

Email *