Get account details of Ad Accounts owned by a Business Manager Account
fbad_get_owned_ad_accounts( id, token, version, fields = c("name"), simplify = TRUE )
id
: Facebook Object, eg Ad Account (with act
prefix) or a Business Manager Account IDtoken
: FB Ads API token (if running before fb_init
)version
: Facebook Marketing API version (if running before fb_init
)fields
: character vectorsimplify
: return data.frame
or list
list(s) containing account details
https://developers.facebook.com/docs/marketing-api/business-asset-management#adaccounts