Query for reach estimate for given targeting spec
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"))
list
(optional) FB_Ad_account object, which defaults to the last returned object of fbad_init.
FB_Ad_account
fbad_init
lists of targeting spec characteristics as described at https://developers.facebook.com/docs/marketing-api/targeting-specs/v2.5
string
what are you optimizing for in the planned Ad Set?
https://developers.facebook.com/docs/marketing-api/reference/ad-account/reachestimate/
if (FALSE) { targetspec <- list( age_min = unbox(24), age_max = unbox(55), geo_locations = list(countries = 'US')) fbad_reachestimate(targeting_spec = targetspec) }
Run the code above in your browser using DataLab