ภาพรวม
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
Programmable Search Engine คืออะไร
Programmable Search Engine ช่วยให้คุณสร้างเครื่องมือค้นหาสำหรับเว็บไซต์ บล็อก หรือกลุ่มเว็บไซต์ได้ คุณสามารถกำหนดค่าเครื่องมือค้นหาให้ค้นหา
ทั้งในหน้าเว็บและรูปภาพ คุณสามารถปรับแต่งอันดับ ปรับแต่งรูปลักษณ์ของผลการค้นหา และเชิญเพื่อนหรือผู้ใช้ที่เชื่อถือได้มาช่วยคุณสร้าง Programmable Search Engine ได้ และคุณยังสร้างรายได้จากเครื่องมือค้นหาโดยใช้บัญชี Google AdSense ได้อีกด้วย
Programmable Search Engine มี 2 กรณีหลักๆ คือ คุณสามารถสร้างเครื่องมือค้นหาที่ค้นหาเฉพาะเนื้อหาของเว็บไซต์เดียว (การค้นหาเว็บไซต์) หรือสร้างเครื่องมือค้นหาที่มุ่งเน้นหัวข้อหนึ่งๆ จากหลายเว็บไซต์ก็ได้ คุณสามารถใช้ความเชี่ยวชาญของคุณเกี่ยวกับเรื่องนั้นๆ เพื่อบอกให้ Programmable Search Engine ทราบว่าจะค้นหา จัดลําดับความสําคัญ หรือละเว้นเว็บไซต์ใด เนื่องจากคุณรู้จักผู้ใช้เป็นอย่างดี คุณจึงสามารถ
ปรับแต่งเครื่องมือค้นหาให้ตรงกับความสนใจของผู้ใช้ได้
Programmable Search Engine ช่วยให้คุณทำสิ่งต่อไปนี้ได้
- สร้าง Programmable Search Engine ที่ค้นหาจากคอลเล็กชันเว็บไซต์หรือหน้าเว็บที่ระบุ
- เปิดใช้งานการค้นหารูปภาพสำหรับเว็บไซต์ของคุณ
- ปรับแต่งรูปลักษณ์และความรู้สึกของผลการค้นหา
รวมถึงเพิ่มการเติมข้อความอัตโนมัติในการค้นหาขณะพิมพ์
- เพิ่มโปรโมชันในผลการค้นหา
- ใช้ประโยชน์จากข้อมูลที่มีโครงสร้างในเว็บไซต์เพื่อปรับแต่งผลการค้นหา
- สร้างหน่วยโฆษณาสำหรับเครื่องมือค้นหาที่ใช้สร้างรายได้ด้วยบัญชี Google AdSense เพื่อให้คุณสร้างรายได้เมื่อผู้ใช้คลิกโฆษณาในหน้าผลการค้นหาของคุณ
สรุปข้อเสนอ Programmable Search Engine
Programmable Search Engine มีข้อเสนอให้ใช้งาน 4 แบบ ใช้แผนภูมินี้เพื่อช่วยเลือกข้อเสนอที่ดีที่สุดสำหรับเว็บไซต์ของคุณ
ข้อเสนอ |
องค์ประกอบของการค้นหามาตรฐาน |
องค์ประกอบการค้นหาที่ไม่แสวงผลกำไร |
องค์ประกอบของการค้นหาที่เสียค่าใช้จ่าย |
Custom Search JSON API |
ค่าใช้จ่าย |
ฟรี |
ฟรี |
$5 ต่อข้อความค้นหา 1,000 ครั้ง |
$5 ต่อข้อความค้นหา 1,000 ครั้ง |
โฆษณา |
ใช่ |
ไม่ได้ |
ไม่ได้ |
ไม่ได้ |
การใช้แบรนด์ Google |
ไม่บังคับ |
ใช่ |
ไม่บังคับ |
ไม่ได้ |
ขีดจำกัดการค้นหาต่อวัน |
ไม่มีขีดจำกัดต่อวัน |
ไม่มีขีดจำกัดต่อวัน |
ไม่มีขีดจำกัดต่อวัน |
การค้นหา 10,000 ครั้งต่อวัน |
การใช้งาน |
JavaScript ฝั่งไคลเอ็นต์ |
JavaScript ฝั่งไคลเอ็นต์ |
JavaScript ฝั่งไคลเอ็นต์ |
JSON API ฝั่งไคลเอ็นต์หรือฝั่งเซิร์ฟเวอร์ |
ความพร้อมใช้งาน |
ทุกคน |
องค์กรไม่แสวงผลกำไรเท่านั้น |
ทุกคน |
ทุกคน |
เริ่มต้นใช้งาน |
ดูข้อมูลเพิ่มเติม
|
ดูข้อมูลเพิ่มเติม |
ดูข้อมูลเพิ่มเติม |
ดูข้อมูลเพิ่มเติม
|
API ที่ใช้ได้
หลังจากสร้าง Programmable Search Engine แล้ว คุณสามารถใช้หน้าเริ่มต้นที่ Google โฮสต์ไว้เพื่อแสดงผลการค้นหาแก่ผู้ใช้ หรือคุณจะฝังฟังก์ชันการค้นหาไว้ในเว็บไซต์โดยตรงก็ได้ แหล่งข้อมูลต่อไปนี้มีไว้สำหรับนักพัฒนาซอฟต์แวร์ที่ต้องการควบคุมการสร้างเครื่องมือค้นหาและปรับแต่งลักษณะของผลการค้นหาได้มากขึ้น
Programmable Search Element Control API
ทำให้คุณสามารถฝัง Programmable Search Element ลงในหน้าเว็บและเว็บแอปพลิเคชันอื่นๆ โดยใช้ JavaScript
Custom Search JSON API ช่วยให้คุณพัฒนาเว็บไซต์และโปรแกรมเพื่อเรียกดูและแสดงผลการค้นหาจาก Programmable Search Engine แบบเป็นโปรแกรมได้ เมื่อใช้ API นี้ คุณสามารถใช้คำขอ RESTful เพื่อรับผลการค้นหาในรูปแบบ JSON ได้
เริ่มต้นใช้งาน
วิธีที่ง่ายที่สุดในการเริ่มต้นใช้งาน Programmable Search Engine คือการสร้างเครื่องมือค้นหาพื้นฐานโดยใช้แผงควบคุม จากนั้น คุณจะดาวน์โหลดไฟล์ 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."]]