Description Usage Arguments Value References Examples
View source: R/fb_reachestimate.R
Query for reach estimate for given targeting spec
1 2 3 4 5 | fbad_reachestimate(fbacc, targeting_spec, currency = "USD",
optimize_for = c("NONE", "APP_INSTALLS", "CLICKS", "ENGAGED_USERS",
"EXTERNAL", "EVENT_RESPONSES", "IMPRESSIONS", "LINK_CLICKS", "OFFER_CLAIMS",
"OFFSITE_CONVERSIONS", "PAGE_ENGAGEMENT", "PAGE_LIKES", "POST_ENGAGEMENT",
"REACH", "SOCIAL_IMPRESSIONS", "VIDEO_VIEWS"))
|
fbacc |
(optional) |
targeting_spec |
lists of targeting spec characteristics as described at https://developers.facebook.com/docs/marketing-api/targeting-specs |
currency |
string |
optimize_for |
what are you optimizing for in the planned Ad Set? |
list
https://developers.facebook.com/docs/marketing-api/reference/ad-account/reachestimate/
1 2 3 4 5 6 7 8 | ## Not run:
targetspec <- list(
age_min = unbox(24),
age_max = unbox(55),
geo_locations = list(countries = 'US'))
fbad_reachestimate(targeting_spec = targetspec)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.