gads_get_account_hierarchy: Get Google Ads Manager Account Hierarchy

View source: R/gads_get_account_hierarchy.R

gads_get_account_hierarchyR 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)

rgoogleads documentation built on April 19, 2022, 5:09 p.m.