gads_get_account_hierarchy {rgoogleads}R Documentation

Get Google Ads Manager Account Hierarchy

Description

Get Google Ads Manager Account Hierarchy

Usage

gads_get_account_hierarchy(
  manager_customer_id = getOption("gads.login.customer.id"),
  include_drafts = FALSE,
  login_customer_id = getOption("gads.login.customer.id")
)

Arguments

manager_customer_id

ID of the manager account whose hierarchy you want to get.

include_drafts

logical, Incliding drafts child account.

login_customer_id

Ypor top-level manager account id.

Value

tibble with data of all the child accounts

See Also

Get Account Hierarchy API documentation

Examples

## Not run: 
acc_hier <- gads_get_account_hierarchy(
    manager_customer_id = '111-111-1111',
    login_customer_id   = '000-000-0000')

## End(Not run)

[Package rgoogleads version 0.11.0 Index]