powered by
fbGetAdAccounts get data frame with avable in your bussines manager ad account list in R.
fbGetAdAccounts(source_id = NULL, api_version = "v3.1", access_token = NULL)
Your business manager or project ID.
Your facebook API token.
Current Facebook API version.
Data frame with ad account list.
# NOT RUN { fbAccounts <- fbGetAdAccounts(source_id = "xxxxxxxxxxxxx", api_version = "v2.10", access_token = "xxxxxxxx") # }
Run the code above in your browser using DataLab