When targeting around a specific location, returns a suggested radius to reach enough people
Arguments
- location
Vector of latitude and longitude (
c(lat, lon)
).- distance_unit
Either
"kilometer"
or "mile
"; defaults to "kilometer
"- version
'Facebook Marketing' API version; for example, "v19.0"
- token
'Facebook Marketing' API token
Details
For more information, see the Facebook documentation here
Examples
if (FALSE) {
get_fb_suggested_radius(location = c(38.89831, -77.03658),
version = "v14.0",
token = "TOKEN-HERE")
}