How To Create AdSense For Search Ads (2024)

Google Adsense is one of the best ways to monetize your blog. For any bloggers, one can quickly add various ad types and AdSense for search.

Adsense for search helps to boost your earnings, and at the top of it, it helps your readers to find content on your blog. Even if you are not using Adsense for search, you should have a search box on your blog to ensure that your readers can find content within your blog. Moreover, showing search results within your blog will help to lower down bounce rate.

In this tutorial, I will be sharing how you can create Adsense for search and show the results on your blog page.

You can earn money with Google Adsense for Search then why not Migrate to it?

Want to migrate?

Read this tutorial!

I know, most of you will know about Google Adsense for search but it’s not bad to let people know who don’t know that they are losing a handsome amount of money from their search results.

How to Setup AdSense for Search ad unit:

Go to your AdSense dashboard, click on Ads > Overview > and select by Ad unit

  • Save

Select the “Search engine” option.

On the next page, you can start configuring your AdSense search engine unit.

  • Save

Give this ad unit a name. Ex: ShoutMeLoud Search box

What to search?

Add your site domain name here in the format shown above.

You can add any of the following:

You can add any of the following:

  • Individual pages: www.example.com/page.html
  • Entire site: www.example.com/*
  • Parts of site: www.example.com/docs/* or www.example.com/docs/
  • Entire domain: *.example.com

Once you are ready, click on create and it would display the code that you have to use on your website for showing the search box.

Simply copy the code snippet, place it on your website, and now you for an AdSense-powered search box.

Many Adsense publishers claim that search box helps them to generate good revenue. You can always configure ad placement for search while setting the ad or edit the already created channel from the dashboard.

Do let us know if you are using Adsense for search and if are you showing search results on your blog page, or are you letting your readers move away from your blog?

Was this helpful?

Thanks for your feedback!
Authored By
A Blogger, Author and a speaker! Harsh Agrawal is recognized as a leader in digital marketing and FinTech space. Fountainhead of ShoutMeLoud, and a Speaker at ASW, Hero Mindmine, Inorbit, IBM, India blockchain summit. Also, an award-winning blogger.

55 thoughts on “How To Create AdSense For Search Ads (2024)”

  1. Tuham Sanusi

    One more question, is it possible for adsense for search to work when the adsense account hasn’t been approved in the 2nd stage?

  2. Avinash Patel

    Hi Harsh,

    How to make this search box responsive?

    Thanks,
    Avinash

  3. Nick

    Hi Yousuf,

    Great tutorial – thankyou. I have set it all up and am receiving serach results into my iFrame results page as you have shown. But I am not getting any Adsense advertising on the page. Presumably I have to add the various ad units in from my Adsense account in text widgets in a custom sidebar in WordPress? Thanks.

  4. Gaurav Aroroa

    Again Shoutmeloud has helped in a serious issue. Thanks Harsh Sir for providing helpful information and specially with search box setup guide. All at one Place.

  5. Gina Davis

    quote: Even if you are not using Adsense for search, you should have a search box on your blog to make sure that your readers can find content within your blog.

    Got the search box set up and I am seeing the Google ads, but no results from my website are showing up. I tried several search terms.

    Help?

    1. prateek

      you should modify settings while making search box in adsense, they give two options entire web or links u decide, u hv to 2nd one n place ur site links in box

  6. Aniruddha

    Higly appreciated for such neat and clean tutorial.
    Thnaks, I have replaced wp search box google search 🙂

  7. abhishek

    you should now update this post to 2015 edition all things have changed

    1. Harsh Agrawal

      @Abhishek
      The process is almost the same, though I have updated one image (first screenshot), which would make it easier for you to others to understand the process.

      1. abhishek

        step 9 is not clear , could you please tell where to add text widget ? do i need to go t appearances and add widget?

        1. Anubhav

          You can also modify the searchform.php page, if there exists get_search_result method in your php. This page shows you the search input field, so you can copy the first script code and paste in your searchform.php.

  8. Ben Jamir

    Very nice and detail tutorial here. I was wondering if we use the search box, will that count as one adsense ad ? As google allows only three adsense to be displayed in one page ?
    Thank you for sharing

    1. Anish

      Hey Ben Jamir,
      On a single page we can add three content ads,three link units and 2 search boxes.So adding a search box won’t affect the number of content ads.

  9. Monu

    Best way to learn the step to create an ad unit in your blog.

  10. Michael Flowersky

    Hey! Thanks for this post! That’s exactly what I was searching for! I’m wondering if it is possible to change CSS of search results and ads within it?

  11. Don

    Hi Yousuf,

    Thank you for this tutorial.

    I followed all of the steps but I had 1 problem that I could not find the answer to.

    You said in step 5:
    “don’t forget to use noindex tag for that page”…

    perhaps it has something to do with the theme I’m using but I couldn’t figure out how to do that… I couldn’t find anything on the page or any info searching google.

    Would you elaborate on how to do this?

    Greatly appreciated.
    Don

  12. Suresh Khanal@SEOMMOTips

    Hi Yousuf,

    Adsense is earning me some money now and then. I don’t find any reason not to use it. Your tutorial is very neat and clear, hope it will help a lot.

  13. Vinayak Nagri

    I really needed this. I have added it to my blog but I am having some problems.
    When I search for some post on my blog, it only shows the search result of my blog’s homepage.
    2nd – I edited the template of the page to make it without sidebars. I made the change but when I search, I get the server error so I reverted back to the normal template.
    I hope to get the answers as soon as possible.
    Nice tutorial by the way :).

  14. Amrish Singh

    Thanks for this information Yousuf .By using this search engine to our blog we can easily increase our adsense earning . Now i will replace wordpress search with google search .Thanks…..

  15. Sandeep@Curious Little Person

    Excellent tutorial.. i need to do this for my site..

  16. Irfan

    I wish if the tutorial is for bloggers it would be helpful for me too.

    1. Yousuf Khan Jee

      The process applies here, to show the search box, create a new Html Gadget and add the code you get from Adsense. To show the results, create a new page and add the Html code you get to show the results.

  17. S.Pradeep Kumar

    That was a good tutorial. I used to do that when I was a Google Adsense User. 🙂

  18. zammax

    thanks for tutorial.. I will add adsense to my blog’s search result page..

  19. Jasmine

    This is a good tutorial. I don’t know it is so easy to integrate Adsense Search into a WordPress blog. If it can generate some good revenue, I don’t see a reason to not use it!

  20. kbharath

    Thanks for sharing this Tutorial Yousuf Khan. i will definitely try this and add a adsense search in my blog.

Leave a Comment

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

Scroll to Top