fbad_get_owned_ad_accounts: Get account details of Ad Accounts owned by a Business...

View source: R/fb_init.R

fbad_get_owned_ad_accountsR Documentation

Get account details of Ad Accounts owned by a Business Manager Account

Description

Get account details of Ad Accounts owned by a Business Manager Account

Usage

fbad_get_owned_ad_accounts(
  id,
  token,
  version,
  fields = c("name"),
  simplify = TRUE
)

Arguments

id

Facebook Object, eg Ad Account (with act prefix) or a Business Manager Account ID

token

FB Ads API token (if running before fb_init)

version

Facebook Marketing API version (if running before fb_init)

fields

character vector

simplify

return data.frame or list

Value

list(s) containing account details

References

https://developers.facebook.com/docs/marketing-api/business-asset-management#adaccounts


fbRads documentation built on Aug. 21, 2023, 1:06 a.m.