title: Google APIs Client Library for PHP - countryBlocked exception
body: <p>I've created a web application which runs with the 'Google APIs Client Library'.</p>
  
  <p>This worked perfectly for me for the last two years.
  But since yesterday I am facing a huge problem.</p>
  
  <p>If I want to access the analytics api the system returns:</p>
  
  <pre><code>Google_Service_Exception Object
  (
  [errors:protected] =&gt; Array
      (
          [0] =&gt; Array
              (
                  [domain] =&gt; global
                  [reason] =&gt; countryBlocked
                  [message] =&gt; This service is not available from your region
              )
  
      )
  
      [retryMap:Google_Service_Exception:private] =&gt; Array
      (
          [500] =&gt; -1
          [503] =&gt; -1
          [rateLimitExceeded] =&gt; -1
          [userRateLimitExceeded] =&gt; -1
      )
  
      [message:protected] =&gt; Error calling GET https://www.googleapis.com/analytics/v3/management/accounts/~all/webproperties/~all/profiles: (403) This service is not available from your region
  )
  </code></pre>
  
  <p>I've checked the logs and made 50 requests the last 30 days so spamming could not be the reason for the block.</p>
  
  <p>When I run it from a different Server it runs just fine.</p>
  
  <p>Can anyone explain why this is happening and how I can bypass it?</p>