Can BigQuery API Call use API Key of Service Account? - google-bigquery

In google cloud I have a service account with big query access.
I would like to use API Key within bigquery api Request. Can this be done?
Paul

(Sorry, don't have enough reputation to comment) In general, you can use service account to authenticate when using BigQuery. The actual way to do this depends on the client you're using.

Related

Google API and AppsScript

If I am using Google API (this one) to access a GoogleSheet document, do the calls I am making via an API have any impact on the AppsScript-specific URL Fetch Service quota mentioned here and here ?
No, I don't believe they do. 2 separate quotas.
Quotas for Google Services

Once softlayer id switchs to IBM id, can i use Softlayer API?

recently, i received the email about switching to IBMid in 30days.
i am using JAVA API provided by softlayer.
after swithcing, can i continually use JAVA API based softlayer ID ?
if this can't use, how should i do ?
Thank you for your response.
yes you can still use it, you just need to make sure that you are using the correct username and API key you can check that information in the control portal in your profile details https://control.softlayer.com/account/user/profile

How do I get Google Analytics data into a CMS without asking the user to authenticate?

I have a web application backend for my clients web site. Authorised staff can log in to the backend and view data.
I want to pull some data from Google Analytics to be viewed in the backend, but GA seems to insist that the user is logged in to their Google account themselves using OAuth2
I want to be able to authenticate the server not the user. They already have permission and it seems unnecessary and possibly intrusive to ask them to link their Google accounts to the GA account and possibly even have to create one first.
The server already has to supply a client id, client secret and an api key, so it's not as if there isn't already an authenticated connection.
I'm guessing that there must be a way to pass the Google Analytics account credentials to OAuth2 somehow but I am not that familiar with OAuth2
Is this possible and how would it be done. A simple example or a nudge in the right direction would be appreciated
There are similar questions around but the ones I have found do not answer my question in the way I need.
Yes you need to store the authentication, but you may be able to use Google Analytics Super Proxy for your needs. At the very least you can see its code on how it stores the authentication.
You authenticate once, input the data you need scheduled from the GA Reporting API, then take the data feed and use it to build charts in your intranet. Any user can view those charts without needing to login to GA themselves.

https://bigquery.cloud.google.com/ not connected. retrying

I am trying to work out query access to the Google Analytics API. I am not a developer and so progressing via the developer route is currently not an option (notes - https://developers.google.com/analytics/devguides/reporting/core/v3/coreDevguide).
I have been looking at setting up with BigQuery, but am struggling to check that I can query in the web interface because it will not load for me.
I am logged in with the account that I am using to access our company URL (I can access this perfectly well using the GA interface).
I can also query the http://ga-dev-tools.appspot.com/explorer/ interface successfully.
What am I doing wrong? Do I need to go the whole hog and set up the bigquery billing (I am hesitant to do this since I want to prove the concept first).
Regards
Tristan
If you cannot access https://bigquery.cloud.google.com/, then I would work with your system administrator to verify that you have network connectivity to that web site.
If you can access the BigQuery UI, then you can follow the Sign Up for BigQuery instructions to enable the UI for you. You do not need to sign up for billing to run a few queries over the public sample tables, but you do need to sign up for billing if you want to load your own data into the system and to significantly increase your query quota limits.
As to BigQuery integration with Google Analytics Premium (see the blog post for background on this feature), you need to request this integration through Google Analytics Premium. Please contact your Google Analytics Premium customer support.

Adwords API developer Token

Can I use Adwords API developer token for multiple applications? In more detail, say if I have a website where I am using adwords API developer token, Can I use the same token for another application. Ofcourse both applications accessing the same account after all.
Thanks,
Murali.
You can use the AdWords API across different applications with just one API token, just make sure though that you are caching the authentication response and re-using those tokens otherwise you'll hit the throttle limit. (Incidentally, logging in is possibly the slowest part of their API, so caching the response will speed up your application considerably)
No doubt you can use same development token for your multiple applications which are accessing same account. If your applications will access different account then it needs to get different developer token.
For the reference, you can read http://goo.gl/zLBPF
Hope it will help you.
Murali,
You need just one developer token, whether your application(s) access same account or different accounts (whether linked under the same MCC hierarchy or not). As a matter of fact, AdWords API Terms and Conditions explicitly prohibits you from getting more than one developer token.
If you use a developer token to make calls, you will be charged for API cost to the account holding the developer token. This is another reason why you should treat your developer token as a password and should reset it immediately if you expose it to the public by say, posting it publicly on a forum.
I also wish to point out that the official AdWords API forum is http://groups.google.com/group/adwords-api, you can ask your questions there and someone will answer your questions in a day or two.
Cheers,
Anash
Yes, Adwords even has channels that you can create to separate your ad campaigns
Adword Docs - Campaigns