rfacebookstat-package: Load Data from Facebook API Marketing

rfacebookstat-packageR Documentation

Load Data from Facebook API Marketing

Description

Load data by campaigns, ads, ad sets and insights, ad account and business manager from Facebook Marketing API into R. For more details see official documents by Facebook Marketing API <https://developers.facebook.com/docs/marketing-apis/>.

Details

The DESCRIPTION file: This package was not yet installed at build time.
Index: This package was not yet installed at build time.

Author(s)

Alexey Seleznev [aut, cre] (<https://orcid.org/0000-0003-0410-7385>)

Maintainer: Alexey Seleznev <selesnow@gmail.com>

See Also

See oficial documantation: rfacebookstat package - https://selesnow.github.io/rfacebookstat/ Facebook API Marketing - https://developers.facebook.com/docs/marketing-apis/

Examples

## Not run: 
library(rfacebookstat)
# Auth
token <- fbGetToken(app_id = 00000000000000)

# Get statistic
CampStat <- fbGetMarketingStat(accounts_id = "act_0000000000",
level = "campaign", fields = "campaign_name,impressions,clicks",
breakdowns = "age", sorting = "unique_impressions_descending",
filtering = "[{'field':'age','operator':'IN','value':['18-24','25-34']}]",
date_start = "2016-10-01", date_stop = "2016-10-10",
access_token = token)

## End(Not run)

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