Groups
Sign in
Groups
Google AJAX APIs
Conversations
About
Send feedback
Help
Unable to access custom search API of google
177 views
Skip to first unread message
Mohd Tanzeel
unread,
Dec 19, 2016, 7:18:54 AM
12/19/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google AJAX APIs, Ankit Saxena
Hi Support team
I am using below of my code to get custom google search on my website, but always getting the error message.
domain
:
"usageLimits"
message
:
"Bad Request"
reason
:
"keyInvalid"
<html>
<head>
<title>JSON/Atom Custom Search API Example</title>
</head>
<body>
<div id="content"></div>
<script>
function hndlr(response) {
console.log(response);
// handle result
}
</script>
<script src="
https://www.googleapis.com/customsearch/v1?key=18e24e397fc81124bc8b01ed685bf3b886df4cdd&cx=cx&q=cars&callback=hndlr
">
</script>
</body>
</html>
Please update where I am missing
Thanks
Mohammad Tanzeel
Reply all
Reply to author
Forward
0 new messages