I have a geocode library (makeKML.pm on MarginalHacks.com) that uses the Google Maps geocoding API. It stops working because it uses v2 requests, so I switched to v3 and they told me that my API key is invalid. So I log in with their disastrously confusing cloud console and finally figure out how to create a new server API key. Again I will try the query with the new key:
https://maps.googleapis.com/maps/api/geocode/xml?sensor=false&address=659+Valencia+St%2C+San+Francisco+CA&key=<<<my new API key here>>>
I keep getting:
<?xml version="1.0" encoding="UTF-8"?>
<GeocodeResponse>
<status>REQUEST_DENIED</status>
<error_message>The provided API key is invalid.</error_message>
</GeocodeResponse>
Any thoughts on what is happening, or how can I guarantee that I am using the correct type of API key? I turned on the Google Maps Geocode API in the cloud console and registered a new web application in which I get the server key that I use.