I have activated billing, and added the information, but it's still not going beyond the free query limit; it says:
{
"code" : 403,
"errors" : [ {
"domain" : "usageLimits",
"message" : "Daily Limit Exceeded",
"reason" : "dailyLimitExceeded"
} ],
"message" : "Daily Limit Exceeded"
}
I also tried creating a new API, but it didn't help. Anyone has any idea?
Here is the code I use:
Builder builder = new Customsearch.Builder(GoogleNetHttpTransport.newTrustedTransport(), new JacksonFactory(), null);
builder.setApplicationName("Search Test");
builder.setCustomsearchRequestInitializer(new CustomsearchRequestInitializer() {
@Override
protected void initializeCustomsearchRequest(CustomsearchRequest<?> request) throws IOException {
request.setKey("???");
request.set("cx", "013036536707430787589:_pqjad5hr1a");
request.set("start", start);
}
});
Customsearch customsearch = builder.build();
Search searchResult = customsearch.cse().list(searchTerm).execute();
System.out.println("About " + searchResult.getSearchInformation().getTotalResults() + " results available");
List<Result> items = searchResult.getItems();
In the console, I tried to increase the quota manually, but it doesn't work. Here is what I clicked on:
And change the value:
And after ok everything looks fine:
But after refreshing the page, everything reverts back (quota 0, for today; just like the first image).
Note that I have added the billing information:
Update: Seems like there is a bug with the new console. I changed the quota from the old console and it worked!
The new console is buggy. As I explained in the question, I was not able to increase the quota. Instead I used the old console and it is working fine.