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
151 stars 57 forks source link

ZIP code for reach estimate #104

Closed devmag closed 6 years ago

devmag commented 6 years ago

Hello -- I am trying to get the zip code specific reach estimates -- is there a minimum working example for how to encode this in the targeting_specs?

Especially if you want to have multiple zip codes comprised as a single area -- e.g. US:60615 AND US:60637 as one big target area combined.

This would be tremendously helpful also for the documentation!

daroczig commented 6 years ago

Sorry, I cannot help with these kinds of requests -- your question is not specific to the R implementation, but you are asking about the FB Marketing API itself. See, especially the JSON examples in the curl requests at https://developers.facebook.com/docs/marketing-api/targeting-specs