View source: R/fb_reachestimate.R
fbad_reachestimate | R Documentation |
Query for reach estimate for given targeting spec
fbad_reachestimate(fbacc, targeting_spec)
fbacc |
(optional) |
targeting_spec |
lists of targeting spec characteristics as described at https://developers.facebook.com/docs/marketing-api/targeting-specs |
list
https://developers.facebook.com/docs/marketing-api/reference/ad-account/reachestimate/
## Not run:
library(jsonlite)
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.