daroczig / fbRads

Analyze and manage Facebook ads from R using this client library to access their Marketing APIs
GNU Affero General Public License v3.0
153 stars 57 forks source link

audience_count has been changed from a value to a range (two fields" "approximate_count_lower_bound" and "approximate_count_upper_bound") #144

Open bengraft opened 2 years ago

bengraft commented 2 years ago

audience_count has been changed from a value to a range (two fields).

1) Need to remove "_approximatecount" from the argument fields in the function _readaudience. 2) Need to add "_approximate_count_lowerbound" and "_approximate_count_upperbound".

daroczig commented 2 years ago

Thanks for catching this! Would you be open to creating a PR with the above-described fix?

bengraft commented 2 years ago

I didn't see your comment...sorry about that. Just a heads up, now it appears that facebook has completely removed saved audiences as an end point or they have rolled it into the custom audience end point, but that doesn't make any sense to me.

If I figure it out, I'll submit a PR.