View source: R/gads_get_account_hierarchy.R
gads_get_account_hierarchy | R Documentation |
Get Google Ads Manager Account Hierarchy
gads_get_account_hierarchy(
manager_customer_id = getOption("gads.login.customer.id"),
include_drafts = FALSE,
login_customer_id = getOption("gads.login.customer.id")
)
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. |
tibble with data of all the child accounts
Get Account Hierarchy API documentation
## Not run:
acc_hier <- gads_get_account_hierarchy(
manager_customer_id = '111-111-1111',
login_customer_id = '000-000-0000')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.