- Go to the AdSense Setup.
- Click on get ads. you will be shown a page. Select the Adsense for search option.
you will be shown the following page.
select "The entire web" option.
click on the continue button.
select your search engine type and click on continue button.
select the option of "open results on Google in a new window and click on continue button.
Name you search engine and then click on the "Submit and get code".
you will be shown the AdSense search engine code.
Copy that and then do the following steps.