google_auth: google_auth

Description Usage Arguments Value See Also Examples

View source: R/google_auth.R

Description

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>

Usage

1
google_auth(client_id, client_secret)

Arguments

client_id

Client ID

client_secret

Client Secret

Value

Environment token that can be used in all other functions

See Also

https://developers.google.com/ads-data-hub/guides/quickstart-api

Examples

1
2
3
4
## Not run: 
token <- google_auth(client_id = client_id, client_secret=client_secret)

## End(Not run)

adsDataHubR documentation built on Feb. 8, 2021, 5:07 p.m.