powered by
Function to login and create a token to be used in all the funtions Reference: <https://developers.google.com/ads-data-hub/guides/quickstart-api>
google_auth(client_id, client_secret)
Client ID
Client Secret
Environment token that can be used in all other functions
https://developers.google.com/ads-data-hub/guides/quickstart-api
# NOT RUN { token <- google_auth(client_id = client_id, client_secret=client_secret) # }
Run the code above in your browser using DataLab