php - Response from using a brand new Google API Server Key says 'The provided API key is expired' -


i have created google developer account, attached credit card info billing, enabled places api, , created server key , attached server ip address - when attempt access api in code, response of:

simplexmlelement object (     [status] => request_denied     [error_message] => provided api key expired. ) 

the endpoint using api access is: https://maps.googleapis.com/maps/api/place/textsearch/xml?query=$query&type=$type&sensor=true&key=$serverkey

is error_message possibly symptom of problem? perhaps i'm using wrong endpoint, or wrong type of api key? seems odd brand new server key expired...

sounds might need browser key, opposed server key.


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -