I'm using the google-api-client client gem for ruby and getting a 403 Access Not Configured error whenever I call the API.
require 'google/api_client'
client = Google::APIClient.new
client.authorization = nil
search = client.discovered_api('customsearch')
response = client.execute( search.cse.list, 'key' => '<<MY KEY>>', 'cx' => '<<MY CX>>', 'alt' => 'json', 'q' => 'hello world')
I'm trying to search without using OAuth, and just the API key.
Any help would be appreciated. Thank you!