Learn R Programming

fbRads (version 17.0.0)

fbad_get_owned_ad_accounts: 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
)

Value

list(s) containing account details

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

References

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