Finding which Google account an API Key is associated with - google-maps-api-3

I've been asked to help with a site using Google's mapping APIs (mainly Maps Javascript) and we can see the API key on the site but we have been unable to trace which Google account this is associated with. I can set up a new account and a new key and then change the site code, but with another site I have worked on Google had applied a very hefty transition credit after the recent billing changes, plus having the original account access will allow me to see historic usage stats and work out potential future costs under the new allowances.
I realise it would be a security/privacy breach to just reveal the email, but is there any way anyone knows that you can enter an API key and for example have it send a password reset or similar email to the account email address?

API keys are not associated to google accounts. An API key only identifies the project associated to the call for billing and quota purposes (and of course to allow or deny the resource). You cannot “reset” an API Key but you can create a new one.

Related

Is Google Place API linked to an email account?

I have a former person that setup my Wordpress website and there is an API entered for Google Place. Is this Google Place API attached to a Google account in which the API could potentially be revoked by this person in the future? Or is the API directly issued by Google? I just want to ensure continuity on my Wordpress without a feature breaking in the future.
The API is connected to the former person's Google account. I am unsure if the person can revoke the API key.
To be on the safe side, make your own API KEY

Is it possible to create Service account and get p12 key programmatically for google accounts?

I need to extract Google Analytics data through it's API. However I do not want to generate any account and key manually (the reason is I do not want to let this technical this to be performed by any non-techie person) and want to dump that data for analysis purpose.
In order to use any of Googles APIs they need to know who you are. You as a developer are identified by the project you create on Google Developer console. Once the project is created you can create a number of different types of credentials including Service account credentials and Oauth2 Credentials.
Answer: No there is no way to programmaticlly create service account credentials. Nor is it possible to use the a Google api without first creating a project on Google developer console.
Note: Google Cloud Resource Manager does exist but is very limited in what it allows you to do.
If someone else is going to be running your application to access their Google analytics Data you should idealy be using Oauth2 in your application and not a service account.
Service accounts are designed as way for the developer to grant others access to data owned by the developer in question. They are not really intended for novice users to be creating their own projects on google developer console and generating credentials.
You are basically asking if you can obtain the credentials necessary to query the API via the API. This does not work.
I am also not sure how this would help you. Before you can do any API operations to a Google Analytics account you need to have an authorized user (e.g. a service account) added to your view or property. If you are in a situation where you can add a user programmatically to an account you might as well just read the data you need.

Do we need to use API key for Google Geocoding API in production

I created a small project. I am using google geocoding API to get the latitude and longitude.
https://developers.google.com/maps/documentation/geocoding
Sample Request:
https://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=true
Now I going to production. I am not using the commercial account. Do i need to add the KEY to my Request or not
Can some one tell whether to use the KEY or NOT
It's not required to use the key, but you should(the explanation may be found in the documentation)
Especially the key-based quota is important. When the domain you are using shares the IP with other domains you will share the quota for geocoding with all the other domains when you don't use a key. Of course this wouldn't be acceptable in production(at least for me)
#andrew
API Keys used for security and Google limits the free quota usage at some level.in production when your traffic gets increase you will need a billing account and billing account only works with API KEYs.
Google Maps Platform products are secured from unauthorized use by restricting API calls to those that provide proper authentication credentials. These credentials are in the form of an API key - a unique alphanumeric string that associates your Google billing account with your project, and with the specific API or SDK.

How to retrieve Google Analytics account owner email address using API

I'm accessing the Google Analytics API v3.0 with the .NET client adapter.
This is all working very good, but I'd like to get the account owner e-mail address for a given account that I have access to.
The resource description only has Id, Name, create- and update date.
Is there a way to get more detailed data for this account? Ideally the owner e-mail address or user data would be great. I couldn't find anything in the Analytics API docs, also nothing declaring that this information is NOT possible to get...
Google Analytics account doesn't really have an "owner" per se. Each account can have multiple users with different permissions.
Recently, Google Analytics launched a new permissions model (see this blogpost for more info), and it'll be rolled out to all the users in the coming weeks. Currently, this information is not available though the Analytics API, but feel free to file a feature request here.

Setting Up Multiple Google Analytics Accounts

I posted this on Google's help forums, but I still haven't gotten a response, so I thought I'd try it here;
I work for a web development company with 200+ active clients. We are in the process of setting up Google Analytics tracking for each of their websites. We have already created a Google account for each of our clients, and we are attempting to manually sign each one up for GA. We haven't gotten very far in creating new GA accounts, after creating a few accounts, we are required to use text-message verification to create the accounts, and after a few more, we are unable to create any new accounts at all.
We are following the recommendation of Google's Help Article found here:
http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55601
We are a legitimate business trying to set up analytics for legitimate customers. At this point we can't create a single new GA account, but we still have 182 clients that we have promised to set up with GA, plus any new customers, all of which we intend to set up with GA. We've clearly been flagged as a robot by Google's system, which is totally understandable given the volume of accounts we are creating, but we are not using any robots, we have a person sitting at a computer manually entering all of the information for each of our clients.
Does anyone have any ideas or a solution?
Are you logging in as a different client each time in order to open the new account?
If so, try logging in as yourself and creating each new accounts in your profile. Once created, add your client as a user (report or admin level).

Resources