Questions tagged [google-custom-search]

for questions related to implementing Google Custom Search on a web site, or using the Google Custom Search APIs.

Custom Search helps users find the right page by showing them a snippet—a small sample of content that gives search users an idea of what's in the webpage. To learn more about snippets, see the Webmaster Central blog post on the anatomy of a search result. If you do not like the standard snippets created by the Custom Search algorithm, you can create your own snippets. You can showcase key information—such as image thumbnails, summaries, dates, authorship, ratings, and prices—directly in your snippets. Having the most relevant information in your search results makes the webpages in your site more compelling to your users. The following figures demonstrate various ways you can customize the snippets in your search results.

Custom Search snippets

Custom Search is a fast way to generate a search function, which can be restricted to one or more websites if you choose. Both javascript and *CSS** are generated automatically. Either the graphical Control Panel tool or an XML file can be used to customize the search or it's results. It can also be integrated with Google AdSense to earn money when users search other websites.

XML look and feel documentation

975 questions
326
votes
10 answers

What are the alternatives now that the Google web search API has been deprecated?

Google Web Search API has been deprecated and replaced with Custom Search API (see http://code.google.com/apis/websearch/). I wanted to search the whole web but it looks like with the new API only custom sites can be searched. Is there a way to…
Dan
  • 9,093
  • 13
  • 48
  • 69
57
votes
3 answers

Programmatically searching google in Python using custom search

I have a snippet of code using the pygoogle python module that allows me to programmatically search for some term in google succintly: g = pygoogle(search_term) g.pages = 1 results = g.get_urls()[0:10] I just found out that this has been…
user2399453
  • 2,378
  • 2
  • 22
  • 49
29
votes
4 answers

Google custom search sort date range criteria not working

In Google Custom search we pass date range criteria in sort parameter…
Anup Khandelwal
  • 357
  • 2
  • 6
  • 23
23
votes
4 answers

How can I search the entire web from Google Custom Search?

Can I search in the web with Google Custom Search? Because in http://www.google.com/cse, I must enter a site url in "Sites to search"; And I don't have any url! because the Internet doesn't have any URL! (I think!) Can you help me?
mrdaliri
  • 6,594
  • 21
  • 67
  • 101
22
votes
1 answer

Google Custom Search API - Reverse image search

I've got a collection of images that I'm missing information for. I'd like to be able to do a Google reverse image search to find names, keywords, links to similar images, etc. I'm aware that scraping the search results page is against the TOS, and…
carbide20
  • 1,605
  • 4
  • 24
  • 46
21
votes
2 answers

ModuleNotFoundError: No module named 'google.appengine'

I want to do a google search in python3 on windows. The google instructions say they support python3 and to type "gcloud topic init" for details - but that fails saying no interpreter for python2.7. Do I have to install python2.7 to find out how to…
17
votes
6 answers

Alternative to Google Custom Search

I'm using Google Custom Search on a client website. They are not very happy about rival companies showing up on sponsored links on their own site. I know we can use Google Site Search but it has an annual fee. I've been looking all around for a…
Eduardo Mello
  • 915
  • 3
  • 15
  • 32
16
votes
3 answers

How to use PHP client for Google Custom Search Engine

I'm feeling like this is an idiotic mistake on my part, but I can't figure out how to use the google-api-php-client to do a simple search. My goal is to run simple keyword queries against a google search engine for my site. I've created my api key,…
doub1ejack
  • 9,047
  • 15
  • 60
  • 110
14
votes
2 answers

Implementing Google custom search API in iOS

I went through several links in order to find the proper steps to implement google customsearchapi in an ios application and spent about 6-7 hours in that…
rptwsthi
  • 9,855
  • 10
  • 65
  • 102
14
votes
3 answers

Google Custom Search with custom search box and button?

I am trying to make a Google custom search (I just need some sort of search engine on my site), and I need to make it so that I can use my own search box (input field). I need it to be of exact size. I also need to be able to make my own button to…
Sean
  • 141
  • 1
  • 1
  • 3
13
votes
6 answers

How can I add an integrated Google search to my website?

Basically I have a website. I have a properly setup sitemap so I assume Google knows about all of my pages. And I've seen on some sites, the search form leads to a page with the shell of the original site but the results are clearly provided by…
Andrew G. Johnson
  • 25,473
  • 30
  • 86
  • 133
12
votes
4 answers

google customsearch returns different result?

I'm trying out google customsearch api to search image and but the weird thing is my search through api returns different result than regular search through browser. for example from apiclient.discovery import build import pprint import…
ikel
  • 1,530
  • 5
  • 24
  • 51
12
votes
1 answer

Google Custom Search API start=100 causes error 400

I have a script that uses Google Custom Search API, iterating through multiple results…
Idan
  • 362
  • 1
  • 3
  • 21
12
votes
3 answers

Java code for using google custom search API

Can anyone please share some java codes for getting started with google search api's.I searched on Internet but not found any proper documentation or good sample codes.The codes which I found doesn't seem to be working.I'll be thankful if anyone can…
dark_shadow
  • 3,428
  • 9
  • 48
  • 80
10
votes
1 answer

How to increase google custom search quota for image search beyond 10000?

The app I work on has previously used the Google Image Search API to allow users to search for images to use in their document. The API has been deprecated for a long time, and google finally pulled the plug on it, which meant that we had to move to…
Thayne
  • 5,931
  • 1
  • 33
  • 55
1
2 3
64 65