title: Where to get analytics reporting realtime v3 API KEY?
body: <p>spend about 4 hours but can not find where to get the key for this GET </p>
  
  <pre><code>https://www.googleapis.com/analytics/v3/data/realtime?ids=ga*****&amp;metrics=rt%3AactiveUsers&amp;**key={YOUR_API_KEY}**
  </code></pre>
  
  <p>Have tried different api keys from here <a href="https://console.developers.google.com/apis/credentials/key/" rel="nofollow noreferrer">https://console.developers.google.com/apis/credentials/key/</a>
  but no one is working. 
  Always got this result </p>
  
  <pre><code>    {  
     "error":{  
        "errors":[  
           {  
              "domain":"global",
              "reason":"required",
              "message":"Login Required",
              "locationType":"header",
              "location":"Authorization"
           }
        ],
        "code":401,
        "message":"Login Required"
     }
  }
  </code></pre>