How to Add Adsense Ad Code in the Middle of Post

On This Page,You can easily know about How to Add Adsense Ad Code in the Middle of Post.

Google Adsense is a program is run by Google. The program allows the publishers around the Google network of content sites to offer automatic text, video, images, advertisements to name a few. All of this is directly targeted towards the site content and the audience.

What is Google AdSense?

Google AdSense is probably the most famous platform you’ll use to run ads on your website (although not your only option, check AdSesense alternatives). Those ads are served by Google, supported the browsing history of the people visiting your site.

So when one person visits your site, they’ll see different ads from another person. for instance , if you run a travel blog, you’d show ads associated with booking sites. If you’re running a business site, ads from B2B companies would show up.

But Google AdSense is more intelligent than that. It knows what each individual who visits your site has checked out online and can tailor the ads consistent with that information. Meaning that they’re more likely to click on the ads, hence you’re more likely to form money from them.

Use Plugin: Let’s start on WordPress Plugins first:

Google’s AdSense program allows you to sell advertising space for other people’s ads on your website–and not just any ads that Google chooses, but ads that are relevant to your site’s content pages like all other Social Media sites. The service is free, and you earn money whenever someone clicks on an ad. Google’s AdSense is probably the fastest and easiest method to get revenue from a website that contains great content.

Most of the Webmaster depends on Google Adsense for revenue from their blogs/websites. Adding Google Adsense in WordPress Blog is small bit difficult. so as to assist new Webmasters, I even have collected two best Adsense WordPress Plugins those are available on WP Registry.

1) Google Adsense Ads Manager

One of the only Google Adsense configuration WordPress Plugin. Get maximum Google Adsense revenue by configuring Adsense correct way.

Why it’s so simple?

  • thus far you’ll have used so many Adsense plugin but none of them satisfied your custom need.
  • Very simple interface
  • option to add HTML in text area during which you’ll specify adsense code
  • option to specify alignment options: Right, Left, Center
  • option to specify condition. Show on Home/Page/Post or all
  • No performance impact – no extra code
  • option to disable adsense code on specific Post/Page
post ads
bottom post ad

2) Easy Plugin for AdSense

Easy AdSense provides how to get revenue from your blog using Google AdSense. With its full set of features, Easy AdSense is probably the primary plugin to offer you an entire solution for everything AdSense-related. Easy AdSense enforces the Google AdSense policy of less than three adsense blocks per page.

Easy Adsense provides Sidebar Widgets:

  • For AdSense for content with custom title.
  • For search with customizable text or image title.
  • Put Link Units or AdSense Blocks in header or footer.
  • Suppress ads on all pages (as against posts), or on the front/home page.
  • Add a customizable mouse-over border decoration on ad blocks.

Without Plugin add Adsense code into your theme:

I’ve been using Adsense to monetize my site since very while back in 2009. As you’ll have a requirement to feature 728×90 banner ads after 1st paragraph and you’ll add 336×300 large rectangle ads after 2nd paragraph.

To achieve that – you’ll not got to use any plugin but instead adding it manually using some WordPress hooks and tricks. There are number of popular WordPress Plugins available out there but shouldn’t use plugin for every and each minor thing on our blog.

Let’s get started:

Step-1

Open your theme’s functions.php file and put below code into it. Here we are using two variables single_post_ads and home_page_ads. Just replace data between and . Here I’m using style CSS parameter which you’ll modify as per your need.

pgm 4

Step-2

Add below code also to functions.php file.

pgm 5

Above code will identify which paragraph it’s and where to feature code. means end of paragraph. Let me know if you see any issue.

Leave a Reply