title: Access not configured displayed when using google custom search api
body: <p>The following script is provided by google api php client</p>
  
  <pre><code>&lt;?php
  require_once 'src/Google_Client.php';
  require_once 'src/contrib/Google_CustomsearchService.php';
  session_start();
  
  $client = new Google_Client();
  $client-&gt;setApplicationName('Google CustomSearch PHP Starter Application');
  $client-&gt;setDeveloperKey('API KEY');
  $search = new Google_CustomsearchService($client);
  
  try{
       $result = $search-&gt;cse-&gt;listCse('burrito', array('cx' =&gt; 'SEARCH ENGINE ID'));
       print "&lt;pre&gt;" .print_r($result, true) . "&lt;/pre&gt;";
  }catch(Exception $e)
  {
       echo("&lt;pre&gt;".print_r($e,true)."&lt;/pre&gt;");
  }
  ?&gt;
  </code></pre>
  
  <p>When The script is executed the following error is displayed even when <code>custom search</code> is enabled in the <code>services</code> tab.</p>
  
  <pre><code>Google_ServiceException Object
  (
      [errors:protected] =&gt; Array
          (
              [0] =&gt; Array
                  (
                      [domain] =&gt; usageLimits
                      [reason] =&gt; accessNotConfigured
                      [message] =&gt; Access Not Configured
                  )
  
          )
  </code></pre>