Home / Make Money / AdSense / How to insert AdSense ads inside article in WordPress

How to insert AdSense ads inside article in WordPress

How to insert AdSense ads inside article in WordPress? and how to increase your profits in AdSense?

Many websites owners around the world especially bloggers use Adsense as a way to make money by placing Adsense ads in different positions within their sites, For example; Header and sidebar position. 

AdSense ads inside article

Unfortunately, it does not return as much profit as profits from the places inside the article, So, I will explain to you in this article how you can increase your profits in Google Adsense by inserting AdSense ads inside article in WordPress by three methods.

Method 1: Insert AdSense ads inside article by WP editor:

  • You can do this method by modifying the ( Single.php ) From the Editor in the WordPress Control Panel.
  • So, to do it successfully, please perform the following steps:
  • Go to your WordPress Dashboard > Appearance > Editor.

AdSense ads inside article

  • Look for the file which named ( Single.php ) in the files menu in the right.
  • Open it and find this word ” the_content ” and insert the Following code before it
<script async src=//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js></script>

<ins class=adsbygoogle

style=display:block

data-ad-client=ca-pub-XXXXXXXXXXXXXXX

data-ad-slot=XXXXXXXXXX

data-ad-format=auto>

</ins>

<script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>

  • Then, go to the ( Style.css ) file and insert the following code at the end of text.
.ads-s300x250{ outline:none;

float:right;

margin:0px 5px 0px 5px;

padding:3px; }

  • So, now you have finished the first method to insert AdSense ads inside article in WordPress.

Method 2: Insert AdSense ads inside article by Plugin:

  • In order to save your time and effort for performing steps which are mentioned in the first method, there is an easier and faster way you can use it.
  • you can apply this method by adding a plugin to your account which its name ” Insert Post Ads “, then you can insert AdSense ads inside article easily and fastly.
  • All you have to do is to install it and activate it on your WordPress account by the following steps:
    • Go to Plugins menu in your WP account > Add new.
    • Search for the ” Insert Post Ads ” plugin in the search box in the right side.
    • Then install and activate the plugin.
    •  Go to its menu in the dashboard then click on Add new and the following box will appear to you:
    • AdSense ads inside article
    • Then add your add your AdSense Advert code and specify the position of it inside the article as you want.
    • Link of Plugin is Here.

Finally, you have finished the second and the last method in this article to insert AdSense ads inside article in WordPress.

About diaaasaad178

Leave a Reply

Your email address will not be published. Required fields are marked *