get_customers: get_customers

Description Usage Arguments Value Examples

View source: R/get_customers.R

Description

Fetch Ads Data Hub customers to which the current user has access. Reference: <https://developers.google.com/ads-data-hub/reference/rest/v1/customers.adsDataLinks/list>

Usage

1

Arguments

token

Access token retrived from function google_auth()

Value

A dataframe of all customers along with IDs to which authenticated user has access

Examples

1
2
3
4
5
## Not run: 
library(adsDataHubR)
total_customers <- get_customers(token)

## End(Not run)

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