概要
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
プログラム可能検索エンジンとは
プログラム可能検索エンジンを使用すると、ウェブサイトやブログ、ウェブサイトのコレクションの検索エンジンを作成できます。ウェブページと画像の両方を検索するように検索エンジンを設定できます。ランキングを微調整したり、検索結果の外観をカスタマイズしたり、友人や信頼できるユーザーを招待してプログラム可能検索エンジンを構築してもらうことができます。Google AdSense アカウントを使用すれば、検索エンジンから収益を得ることもできます。
プログラム可能検索エンジンには、主に 2 つのユースケースがあります。1 つのウェブサイトのコンテンツのみを検索する検索エンジンを作成する(サイト内検索)か、複数のサイトの特定のトピックに焦点を当てた検索エンジンを作成することです。サブジェクトに関する専門知識を活用して、どのウェブサイトを検索、優先、または無視するかをプログラム可能検索エンジンに伝えることができます。ユーザーをよく理解しているので
ユーザーの興味や関心に合わせて検索エンジンを調整できます
プログラム可能検索エンジンを使用すると、次のことが可能になります。
- 指定した一連のサイトまたはページを検索するプログラム可能検索エンジンを作成する
- サイトの画像検索を有効にする
- 入力しながら検索するオートコンプリートの追加など、検索結果のデザインをカスタマイズできます。
- 検索結果にプロモーションを追加
- サイトの構造化データを活用して検索結果をカスタマイズする
- Google AdSense アカウントで収益化対象の検索エンジンの広告ユニットを作成すると、検索結果ページでユーザーが広告をクリックするたびに収益を得ることができます。
プログラム可能検索エンジンの概要
プログラム可能検索エンジンには、次の 4 つのオプションがあります。以下の表を参考に、サイトに最適なサービスを選択してください。
提供プロダクト |
標準の検索要素 |
非営利団体の検索要素 |
有料検索の要素 |
Custom Search JSON API |
費用 |
無料 |
無料 |
クエリ 1,000 回あたり $5 |
クエリ 1,000 回あたり $5 |
関連 |
○ |
× |
× |
× |
Google ブランディング |
省略可 |
○ |
省略可 |
× |
1 日あたりのクエリ数の上限 |
1 日の上限なし |
1 日の上限なし |
1 日の上限なし |
1 日あたり 10,000 クエリ |
実装 |
クライアントサイドの JavaScript |
クライアントサイドの JavaScript |
クライアントサイドの JavaScript |
クライアントサイドまたはサーバーサイドの JSON API |
対象 |
全ユーザー |
非営利団体のみ |
全ユーザー |
全ユーザー |
はじめに |
詳細
|
詳細 |
詳細 |
詳細
|
使用可能な API
プログラム可能検索エンジンを作成したら、Google がホストするデフォルト ページを使用して検索結果をユーザーに表示するか、検索機能をウェブサイトに直接埋め込むことができます。検索エンジンの作成や、検索結果の表示のカスタマイズをより詳細に管理したいデベロッパー向けに、以下のリソースが用意されています。
はじめに
プログラム可能検索エンジンを開始する最も簡単な方法は、コントロール パネルを使用して基本検索エンジンを作成することです。次に、検索エンジンをプログラムでカスタマイズするために変更する必要のあるキー XML ファイルをダウンロードします。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eProgrammable Search Engine allows you to build custom search engines for your website, blog, or a collection of websites, enabling searches across web pages and images.\u003c/p\u003e\n"],["\u003cp\u003eYou can refine search rankings, personalize the appearance of search results, and potentially monetize your search engine using Google AdSense.\u003c/p\u003e\n"],["\u003cp\u003eProgrammable Search Engine offers four distinct offerings: Standard, Non-profit, Paid, and Custom Search JSON API, each with varying features and costs.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can leverage APIs like the Programmable Search Element Control API and the Custom Search JSON API for advanced customization and integration.\u003c/p\u003e\n"],["\u003cp\u003eCreating a basic search engine through the Control Panel is the easiest way to begin using Programmable Search Engine.\u003c/p\u003e\n"]]],[],null,["# Overview\n\nWhat Is Programmable Search Engine?\n-----------------------------------\n\nProgrammable Search Engine lets you create a search engine for your website,\nyour blog, or a collection of websites. You can configure your search engine to\nsearch both web pages and images. You can fine-tune the ranking, customize the\nlook and feel of the search results, and invite your friends or trusted users to\nhelp you build your Programmable Search Engine. You can even make money from\nyour search engine by using your [Google AdSense account](https://www.google.com/adsense/login?sourceid=aso&subid=ww-en-et-aso_api3&medium=link).\n\nThere are two main use cases for Programmable Search Engine - you can create a\nsearch engine that searches only the contents of one website (site search), or\nyou can create one that focuses on a particular topic from multiple sites. You\ncan use your expertise about a subject to tell Programmable Search Engine which\nwebsites to search, prioritize, or ignore. Because you know your users well, you\ncan tailor the search engine to their interests.\n\nWith Programmable Search Engine, you can:\n\n- Create Programmable Search Engines that search across a specified collection of sites or pages\n- Enable image search for your site\n- Customize the look and feel of search results, including adding search-as-you-type autocompletions\n- Add promotions to your search results\n- Leverage structured data on your site to customize search results\n- Create a monetized search engine ad unit with your Google AdSense account, so you make money whenever users click ads on your search results pages.\n\nSummary of Programmable Search Engine Offerings\n-----------------------------------------------\n\nProgrammable Search Engine has four offerings available for use. Use this chart\nto help you select which offering is best for your site.\n\n|-------------------|-------------------------------------------|------------------------------------------------------------------------------|-----------------------------------------------------------------------------|------------------------------------------|\n| Offering | Standard Search Element | Non-profit Search Element | Paid Search Element | Custom Search JSON API |\n| Cost | Free | Free | $5 per thousand queries | $5 per thousand queries |\n| Ads | Yes | No | No | No |\n| Google Branding | Optional | Yes | Optional | No |\n| Daily Query Limit | No Daily Limit | No Daily Limit | No Daily Limit | 10,000 queries per day |\n| Implementation | Client side javascript | Client side javascript | Client side javascript | Client side or server side JSON API |\n| Availability | Everyone | Non-profits only | Everyone | Everyone |\n| Getting Started | [Learn More](/custom-search/docs/element) | [Learn More](https://support.google.com/programmable-search/answer/12423873) | [Learn More](https://developers.google.com/custom-search/docs/paid_element) | [Learn More](/custom-search/v1/overview) |\n\nAvailable APIs\n--------------\n\nAfter creating a Programmable Search Engine, you can use a default page hosted\nby Google to show your results to the user, or you can embed search\nfunctionality directly in your website. The following resources are available to\ndevelopers who want more control over creating search engines and customizing\nthe appearance of search results:\n\n- The [Programmable Search Element Control API](/custom-search/docs/element)\n\n lets you embed the Programmable Search Element in your web pages and other\n web applications using JavaScript.\n- The [Custom Search JSON API](/custom-search/v1/overview) lets you\n develop websites and programs to retrieve and display search results from\n Programmable Search Engine programmatically. With this API, you can use\n RESTful requests to get search results in JSON format.\n\nGetting started\n---------------\n\nThe easiest way to get started with Programmable Search Engine is to create a\nbasic search engine using the [Control Panel](https://programmablesearchengine.google.com/controlpanel/all). You can\nthen download the key XML files you need to modify to customize your search\nengine programmatically."]]