Skip to contents

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

Examples

if (FALSE) {
acc_hier <- gads_get_account_hierarchy(
    manager_customer_id = '111-111-1111',
    login_customer_id   = '000-000-0000')
}