fbGetAdAccountUsers: Get User List From Account

View source: R/fbGetAdAccountUsers.R

fbGetAdAccountUsersR Documentation

Get User List From Account

Description

fbGetAdAccountUsers get data frame with adaccounts user list in R.

Usage

fbGetAdAccountUsers(
    accounts_id  = getOption("rfacebookstat.accounts_id"), 
	business_id  = getOption("rfacebookstat.business_id"),
    api_version  = getOption("rfacebookstat.api_version"), 
	console_type = "progressbar", 
	username     = getOption("rfacebookstat.username"),
	token_path   = fbTokenPath(),
	access_token = getOption("rfacebookstat.access_token"))

Arguments

accounts_id

vector with ID of your ad account, for example c("act_00001","act_00002").

business_id

ID by your Business Manager

access_token

Your facebook API token.

console_type

Console output type, "progressbar" or "message"

username

your username on Facebook

token_path

path to dir with credentials

api_version

Current Facebook API version.

Value

Data frame with ad account list.

Author(s)

Alexey Seleznev

Examples

## Not run: 
accountUsers <- fbGetAdAccountUsers(accounts_id = c("act_00001","act_00002"), 
                                    bussiness_id = 1111111,
                                    access_token = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx")

## End(Not run)

rfacebookstat documentation built on Sept. 11, 2024, 6:05 p.m.