Learn R Programming

adsDataHubR (version 0.1.1)

google_auth: google_auth

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

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

Run this code
# NOT RUN {
token <- google_auth(client_id = client_id, client_secret=client_secret)
# }

Run the code above in your browser using DataLab