Reputation: 203
I want to give budget estimation to my user while creating an Advert on Facebook using api. I need total reach to find budget. Is there any API to find Total Reach by city name + 10-15 mile radius.
Upvotes: 0
Views: 151
Reputation: 203
API for total estimated reach is
act_ad_account_id/reachestimate?targeting_spec={targeting_url_encode}
[
"geo_locations" => array:1 [
"cities" => array:1 [
0 => array:3 [
"key" => "102356"
"radius" => "30"
"distance_unit" => "mile"
]
],
min_age => 24,
max_age => 65,
...
...
]
Convert array into encoded url to replace with {targeting_url_encode}
. Hope this helps.
Upvotes: 1