E
E
et_samoe2020-02-03 18:45:00
Google Analytics
et_samoe, 2020-02-03 18:45:00

Google analytics api, authorization through a service account?

I need to get data from google real time reporting api.
I generated a key json file for a google service account with the fields type, project_id, private_key_id, private_key, client_email, client_id, auth_uri, token_uri, auth_provider_x509_cert_url, client_x509_cert_url.
Further, do I understand correctly that I need to first go through oauth2 authorization with this key, get a temporary token, and send requests with it already?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2020-02-03
@et_samoe

right
there are code examples for your favorite language

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question