Description Usage Arguments Examples
View source: R/functions.R View source: R/functions_dam.R
This returns, in a data frame, a summary of FB insights with no breakdown
1 2 | fbins_summ(start_date, until_date, report_level, time_increment,
fb_access_token, account)
|
start_date |
The first full day to report, in the format "YYYY-MM-DD" . |
until_date |
The last full day to report, in the format "YYYY-MM-DD" . |
report_level |
One of "ad", "adset", "campaign" or "account" . |
time_increment |
An integer representing the reporting increment. If blank, defaults to the entire reporting period. |
fb_access_token |
This must be a valid access token with sufficient privileges. Visit the Facebook API Graph Explorer to acquire one. |
account |
This is the ad account, campaign, adset or ad ID to be queried. |
1 2 3 | fbins_summ("start_date", "until_date", "report_level", "time_increment", "fb_access_token", "account")
fbins_summ("2017-01-20", "2017-01-22", "ad", "1", "ABCDEFG1234567890ABCDEFG", "act_12345678")
fbins_summ("2017-01-20", "2017-01-22", "ad", "", "ABCDEFG1234567890ABCDEFG", "act_12345678")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.