Implement a custom search engine
To add a custom search engine to your site, you first generate the search box code in your AdSense account and then copy and paste that code into the HTML of your pages. You can either add the default search code to start providing search to your users right away, or spend some time customising your search engine before pasting the code.
Before you start
If you haven't already, add the AdSense for search product to your AdSense account:
- Sign in to your AdSense account.
- Click Ads.
- Click Other products.
- Under 'Search', click Get started with AdSense for search.When you see the Ads for Search option in your account, you're ready to create your first custom search engine.
Create a custom search engine
To create a new custom search engine for your site, follow these steps:
- Sign in to your AdSense account.
- Click Ads for Search.
- Click +New custom search engine.
- Give your search engine a name.
- (Optional) Customise your custom search engine:
View customisation options
- Click Save and get code.
- Copy the code from the "Search Box Code" window and paste it into the HTML of your pages where you want your search engine to appear.
If you'd like more details about adding ad code to your pages, see the Code Implementation Guide.
No comments:
Post a Comment