Good day
We have the same problem with the Custom Search Engine for the project
80041694946
There is the paid quote for the requests to the active Custom Search Engine
Everything worked fine yesterday. Today after running the same scripts I
have the Exception for the script bellow
Please, help as we spend the whole day for the keys
Google_Service_Exception Object
(
[errors:protected] => Array
(
[0] => Array
(
[domain] => usageLimits
[reason] => accessNotConfigured
[message] => Access Not Configured. Please use Google
Developers Console to activate the API for your project.
)
)
)
require_once "Google/Client.php";
require_once "Google/Service/Customsearch.php";
// Initialize client
$client = new Google_Client();
// Set the Application name
$client->setApplicationName ("<Project Name>");
$client->setDeveloperKey ("<Project Key>");
$service = new Google_Service_Customsearch ( $client );
$query = "queen";
try {
// $sites
$results = $service->cse->listCse( $query, array( "cx" =>
"003833851582755202672" ) );
}
catch ( Google_Service_Exception $ex ) {
echo "<pre>";
print_r ( $ex );
echo "</pre>";
}
We are also tried the OAuth keys for the same request
$client->setClientId( "<mykey>.apps.googleusercontent.com" );
$client->setClientSecret( "<mysecret>" );
$client->setRedirectUri( "<redirecturl>" );
Here is the exception
Google_Service_Exception Object
(
[errors:protected] => Array
(
[0] => Array
(
[domain] => usageLimits
[reason] => dailyLimitExceededUnreg
[message] => Daily Limit for Unauthenticated Use
Exceeded. Continued use requires signup.
[extendedHelp] => https://code.google.com/apis/console
)
)
)
Please, help
Thank you much
Sysprog
--
--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
To view this message on the web, visit
https://groups.google.com/d/msgid/google-ajax-search-api/7d788069-a3f8-478a-96e2-239711916cb4%40googlegroups.com
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 [email protected].
For more options, visit https://groups.google.com/d/optout.