title: Google Places API Key for Android App
body: <p>I have created an <code>API Key</code> (for Android apps) for my Android Application. It was required by google maps API. But now the same key won't work for Google Places API.</p>
  <p>I also tried hitting the browser with the following URL:</p>
  <p><a href="https://maps.googleapis.com/maps/api/place/details/json?placeid=ChIJN1t_tDeuEmsRUsoyG83frY4&amp;key=my_key" rel="noreferrer">https://maps.googleapis.com/maps/api/place/details/json?placeid=ChIJN1t_tDeuEmsRUsoyG83frY4&amp;key=my_key</a></p>
  <p>I get:</p>
  <pre><code>{
     &quot;error_message&quot; : &quot;This IP, site or mobile application is not authorized to use this API key.&quot;,
     &quot;html_attributions&quot; : [],
     &quot;status&quot; : &quot;REQUEST_DENIED&quot;
  }
  </code></pre>
  <p>When I googled for an answer, I found this:</p>
  <p><a href="https://developers.google.com/places/training/autocomplete-android" rel="noreferrer">https://developers.google.com/places/training/autocomplete-android</a></p>
  <blockquote>
  <p>What type of API key?</p>
  <p>You'll need your own browser or server API key for the Google Places API before you can begin using the Place Autcomplete service. Note that an Android API key will not work for the Place Autocomplete service.</p>
  </blockquote>
  <p>This got me confused as I do not have any URL for a web app, nor any server IP. Therefore I am confused on how to get either a <code>Browser key</code> or a <code>Server key</code></p>
  <p>Could anyone please help me in figuring out what sort of key is needed here? Also if I have to create a <code>Browser key</code> or a <code>Server key</code>, how can I do so?</p>