Google geocode api issue

“Error hitting Google Geocode API: API keys with referer restrictions cannot be used with this API.” How do I resolve this error and use the Google map on my application

Just remove the restrictions in api settings