Question

The City Search call used to return a response where each city had the form:

{
  "name": "Dublin, CA", 
  "key": 220522764, 
  "subtext": "CA, United States"
}

Now the API returns:

{
  "name": "Dublin", 
  "key": 220522764, 
  "subtext": "California, United States"
}

The first format is still listed in the API docs here: https://developers.facebook.com/docs/reference/ads-api/get-autocomplete-data/

Is this a permanent change?

Was it helpful?

Solution

Our apologies for this change - we've reverted this change and will take precaution to avoid these things in the future. Thank you for the report.

We've added another parameter to use in your query if you want to get the city name without the state. Documentation updated: https://developers.facebook.com/docs/reference/ads-api/get-autocomplete-data/

OTHER TIPS

Yes, last week. No warning from Facebook.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top