Вопрос

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?

Это было полезно?

Решение

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/

Другие советы

Yes, last week. No warning from Facebook.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top