Unfortunately, you're going to have to be a bit more detailed for us to provide any real help. For instance, which API are you using: the Custom Search API (CSAPI) or deprecated Web Search API (AJAX)? Also, a lot of this would be answered if we could see your page/app in action, working or not. The link you provided to the script timed out with no response from the server.
Jg
// URL of Google's AJAX search API var apiURL = 'https://ajax.googleapis.com/ajax/services/search/'+settings.type+'?v=1.0&callback=?';
Once again, I am getting server timeouts from both of those links to a-t-i-s.com. So those links are of no help to me.
The line of code is a bit more useful, telling me that you're using the AJAX API. In this case, there are a few things to note. If you're setting a site restriction (I.e., by including site:xyz.com in your query), it is very common for the results to be extremely limited or even 0 in number. The API was deliberately crippled in such queries to restrict abuse from SEO and other applications. The CSAPI would probably do a better job for you, particularly considering the AJAX API will be discontinued no later than May 2014.
Given that I am getting server timeouts from your links, it should probably also be noted that, regardless of which API you're using, Google can't search domains or URLs that are not accessible to the general public.
Jg
--
--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-searc...@googlegroups.com
To view this message on the web, visit
https://groups.google.com/d/msg/google-ajax-search-api/-/zPj-ZBlhQAQJ
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-ajax-searc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.