fbGetUserAdAccounts: User's ad account list.

View source: R/fbGetUserAdAccounts.R

fbGetUserAdAccountsR Documentation

User's ad account list.

Description

The advertising accounts to which this person has access.

Usage

fbGetUserAdAccounts(user_id      = "me", 
                    api_version  = getOption("rfacebookstat.api_version"), 
                    username     = getOption("rfacebookstat.username"),
                    token_path   = fbTokenPath(),
                    access_token = getOption("rfacebookstat.access_token"))

Arguments

user_id

Facebook user id.

access_token

Your facebook API token.

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: 
fbAccounts <- fbGetUserAdAccounts()
							  

## End(Not run)

rfacebookstat documentation built on Sept. 29, 2022, 5:13 p.m.