get_customers {adsDataHubR}R Documentation

get_customers

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

get_customers(token)

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

## Not run: 
library(adsDataHubR)
total_customers <- get_customers(token)

## End(Not run)

[Package adsDataHubR version 0.1.1 Index]