-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
Description
I'm submitting a ...
- bug report
- feature request
- question about the decisions made in the repository
- question about how to use this project
Summary
I am trying to understand how to use this module with JWT authentication. I have a simple Lambda that will run every few hours, get reports from Google Ads and store it in one of our DBs. The Ads account is internal (and server-to-server) so as I understand I don't need OAuth. I setup a Google service account and download the JSON file but I didn't understnad how to use it with this module. I also have a developer token I got from Google Ads.
Other information
This is the information I have in the JSON:
{
"type": "service_account",
"project_id": "XXX",
"private_key_id": "XXX",
"private_key": "-----BEGIN PRIVATE KEY-----XXXXXXXXX-----END PRIVATE KEY-----\n",
"client_email": "XXX@XXX.iam.gserviceaccount.com",
"client_id": "XXX",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "XXXXXXXXX"
}anton-yurchenko and tdzienniak