title: Adsense API getting 'Error: Login Required'
body: <p>I'm using the API Explorer tool to create some request urls for google adsense. Here is the request url that the explorer tool generated that gives a response of today's earnings: <code>https://www.googleapis.com/adsense/v1.4/reports?startDate=today&amp;endDate=today&amp;accountId=MY_ACCOUNT_ID&amp;metric=EARNINGS&amp;key=MY_API_KEY</code></p>
  
  <p>However, when I try to use this url in the browser or in my code it gives this response: </p>
  
  <pre><code>{
   "error": {
    "errors": [
     {
      "domain": "global",
      "reason": "required",
      "message": "Login Required",
      "locationType": "header",
      "location": "Authorization"
     }
    ],
    "code": 401,
    "message": "Login Required"
   }
  }
  </code></pre>
  
  <p>I am not sure what I am missing it use this url. I have activated adsense apis on my google developer console.</p>