GoogleMaps API KEY for testing - android

I'd like to add an API_KEY for GoogleMaps for testing and in documentation I've read this :
Tip: During development and testing, you can register a project for testing purposes in the Google Cloud Platform Console and use a generic, unrestricted API key. When you are ready to move your app into production, register a separate project for production, create an Android-restricted API key, and add the key to your application.
My question is, do I have to put my Credit card even if it's a testing API_KEY? I do not get the purpose to put my Creadit card to use Google Maps, isn't it free?

There seems no way to have google maps api key free without credit card. To test the functionality of google map you can use it while leaving the api key field "EMPTY". It will show a message saying "For Development Purpose Only". And that way you can test google map functionality without putting billing information for google map api key.
<script src="https://maps.googleapis.com/maps/api/js?key=&callback=initMap" async defer></script>

Updated Answer
As of June11, 2018 it is now mandatory to have a billing account to get API key. You can still make keyless calls to the Maps JavaScript API and Street View Static API which will return low-resolution maps that can be used for development. Enabling billing still gives you $200 free credit monthly for your projects.
This answer is no longer valid
As long as you're using a testing API key it is free to register and use. But when you move your app to commercial level you have to pay for it. When you enable billing, google gives you $200 credit free each month that means if your app's map usage is low you can still use it for free even after the billing enabled, if it exceeds the credit limit now you have to pay for it.

You can test it:
It will show a message saying "For Development Purpose Only". And that way you can test Google Maps functionality without putting billing information for the Google Maps API key.
<script src="https://maps.googleapis.com/maps/api/js?sensor=false&callback=myMap"></script>

Firstly Google cloud billing account loaded a $300 load(for trial purposes) to your account after that they start to charge any if you will allow them else they will not charge you automatically. If you are interested to know the whole process of how you can get Google Maps API Key please read this article this is written in very detail.
How To Create Google Maps API KEY For Free?

Related

Do i have to have a billing account to use Google Maps Api keys?

I don't have a billing account but I still have access to Google Cloud Platform and I can make API keys for my Android project,
I already have two API keys and they seem to work but when I add them to my project I get an empty activity at first and then the cashed map loads (I'm doing a zoom-in animation to a certain location but map only loads after the animation ends ) and I tried to put a made up API key instead and still I get the same behavior so that confirms my theory that the API keys I have from google are not working.
My question is Do I have to have a billing account to use Google Maps API keys? although the gave me two keys and they seem to work
and is there a way to test API keys outside of the android studio to know for sure?
My original answer was wrong. You do need a billing account setup to use the google maps platform.
To use Google Maps Platform, you must have a billing account. The billing account is used to track costs associated with your projects. Make sure you understand how the billing account credits work.
https://developers.google.com/maps/gmp-get-started#create-billing-account

Can I publish an android app, that uses the maps SDK, without setting up a google maps platform billing account?

Google decided to change the pricing and billing methods when you use one of their APIS's eg. Google maps SDK for android. Now you can't get a key without setting up a credit card account, I know that sucks. Fortunately I got a key before all of this happened. My question is:
Can I publish an app, that uses the maps api, into the play store without setting up a billing account?.
You can see the new billing and pricing changes here:
https://cloud.google.com/maps-platform/pricing/

Google MAP API key asking to Enable business account

I am stuck at generating API key for google map but somehow I came to know Google has just changed policies for APIKEY. Can't I get the API key for free use because it's showing me to enable business account?
Since July 16, 2018, the Google Maps API does not allow freemium without creating a business profile, including the requirement of a credit card for billing.
From there, you will be able to use the old 2,5k free queries per day, but at the moment you cross that line, you will pay for the service.
You can see that in the documentation for old and new users in "View Documentation": https://cloud.google.com/maps-platform/?apis=maps

Google MAPs API for android limit 2500 requests/day is per client device or per application key?

Sorry, I found similar questions - but not the answers: only discussions. I'm developing android application which is intended to place points and draw routes on map. In case Google limits using of their maps 2500 r/day per key - there is no way to use it, since even in case your application was once sold - you'll need to pay every month for every additional 1000 req/day. Especially it is unclear for free application: how much it will cost for 100000 downloads per month after 1 year? Please, share your experience (not your assumptions). Thanks.
It is not entirely clear which limit you are looking for because the "usage of maps" can follow into a number of different map API categories. For just displaying maps, you can display unlimited maps without usage limits on moblie apps using the Google Maps Android API v2 -- the supporting documentation comes from the FAQ.
The Maps API usage limits apply only to the following Maps API
services:
Google Maps JavaScript API v2
Google Maps JavaScript API v3
Google Maps API for Flash
Google Maps Image APIs:
Google Static Maps API
Google Street View Image API
Note that Google Maps Android API v2 does not appear on the list, and thus, is not subject to usage limits.
However, your question seems to be asking about routing, not maps. If you need routes, you need to use the Google Directions API, which is not part of Google Maps Android API v2, and subject to its own usage limits. Specifically, 2500 requests per key per day. Since directions is not tied to mobile app, it has no notion of a device.
In summary, if you want to display a map with a route you have generated on your own, there are no limits. If you need Google to give you the route, you can only do 2500 requests for routes per day. If you need more, you have to get a Google Maps API for Business account or find another routing solution.
From FAQ google maps API:
"The Google Earth API, and native Maps APIs for mobile platforms such as Android and iOS are not affected. Use of the embed feature of Google Maps, and other Google products that offer an embed feature that includes a map, are not affected by these limits."
use of the Google Places API for Android request based on Application key based.
After 150000 request per day whoever using your application "that means the "key"
which you given for google places api request" will get a response error
from google api as "USAGE_LIMIT_EXCEEDED" like
USAGE_LIMIT_EXCEEDED
while giving search text in search view(to check the response debug and see
the Exception occurs while sending request to place api) , but it wont't be
visible to the user who uses you app. It will simply shows no
movement in markers and no auto suggestion will come. For that you want to use
Uplift
for unlimited request. but it contains lots of restrictions by google. They
will track your app closely. If any violations of google policy happens means
you app will get banned from GooglePlay Markert. so make sure in that you
app does't contains any violation policy before using this.
Google has shared the API licensing structure. See link below.
https://developers.google.com/maps/faq#usage_pricing

Google checkout transactions for google play account

Situation:
Our company has an application in Google Play. Application uses in-app purchases and information about payment transactions are shown in google checkout.
Our company used in-house analytics system to see how many payments are done, how much money we got, etc.
I need to create some way to fetch information about payments from google play/checkout(#1) to our system (#2).
According to research in Internet, I found following ways to do that:
Polling API
Notification History API
Order Report API
All this sysstems will work for me, however, I need somehow to get Merchand Key in order to be able to request data from system.
Merchant key should be located in Settings -> integration, however, our company google checkout account has no "integration tab". According to interenet, reason is that we are not "standart merchant but google play merchant".
Questions are:
How to get information from google play about payments ?
Is there any other way to do such thing, for example directly from google play ?
Or, is there any other way to get merchant key ?
I am totally newbie in Android or google play so desperately need help.

Categories

Resources