Learn R Programming

rfacebookstat (version 2.11.0)

fbGetAdAccountsConversions: Get list of custom conversion from ad accounts.

Description

Custom conversions on Facebook allows you to optimize and track actions without having to add anything to your Facebook pixel base code. They also allow you to optimize for and track actions that are different from the 9 standard events that come with the Facebook pixel.

Usage

fbGetAdAccountsConversions(
   accounts_id  = getOption("rfacebookstat.accounts_id"),
   api_version  = getOption("rfacebookstat.api_version"), 
   username     = getOption("rfacebookstat.username"),
   token_path   = fbTokenPath(),
   access_token = getOption("rfacebookstat.access_token"))

Value

Data frame with custom conversion list.

Arguments

accounts_id

Your account ID, for example 'act_11111111111111111'.

access_token

Your facebook API token.

username

your username on Facebook

token_path

path to dir with credentials

api_version

Current Facebook API version.

Author

Alexey Seleznev

Examples

Run this code
if (FALSE) {
conversions <- fbGetAdAccountsConversions()
							  
}

Run the code above in your browser using DataLab