Search
Clear search
Close search
Google apps
Main menu

Implement a search engine

If your AdSense application is approved, we'll provide you with search code to paste into your webpages. You can add the default code into your page to start providing search instantly to your users, or spend some time customizing the search engine before pasting your code.

To get the search code:

  1. Sign in to your account at https://www.google.com/adsense.
  2. Visit the My ads tab.
  3. Select Search.
  4. Click +New custom search engine. Add AFS
  5. Pick whether you want this search box to search the entire web, or specific sites you list. Sites to search
  6. Design your search box and search results using the guided setup.
  7. Copy and paste the search code from the Search box code into your HTML pages. AFS code

If you'd like more details about adding the code to your pages, please review the Code Implementation Guide.

Was this article helpful?
How can we improve it?
Sign in to AdSense

Sign in to AdSense to see help for your account

Don't have an AdSense account? Sign Up for AdSense!