Learn R Programming

rgoogleads (version 0.12.0)

gads_get_account_hierarchy: 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")
)

Value

tibble with data of all the child accounts

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.

See Also

Examples

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

Run the code above in your browser using DataLab