I want to introduce Google Ads on my website. But to start on I want to do it only on a particular blog post. It is part of some real-time testing that I need to do. I want to use Google AdSense plugin.

E.g. I have 3 blog posts.




I want to place ads
on the right on www.exampleblog.com/abc
on the left on www.exampleblog.com/pqr
no ads on www.exampleblog.com/xyz

Just now I am not able to test it as I want the confirmation that Google Adsense plugin for WordPress allows this customization. There is an option to decide advertisement placement for 'Single Post'. How does that work? Options

Alternative ways apart from using Google AdSense are also welcome.


Ultimately, Google Adsense is just a script that you insert somewhere in your html. If your theme is well widgetized, there are plenty of places where you could insert the script using the default text widget. To hide/show the widget on specific pages you could use a visibility widget (plenty of choice) that lets you specify the conditions.

If your theme doesn't have a widget area in the place where you would like insert the ad, you could build a child theme that inserts one in the appropriate place, for instance by hooking into the featured image and display the ad after it, depending on certain conditions.

  • Thanks for replying. Widgets only allow visibility customization up till page type only i.e. if you want to limit widgets to only category page or post page in general. It does not allow to target the a particular post or category like I asked for.
    – HBalyan
    Jan 5 '17 at 12:50
  • @HBalyan Yes, with the standard jetpack widget visibility. There are other plugins. Try one of these, for instance: wpsolver.com/…
    – cjbj
    Jan 5 '17 at 13:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.