Pergunta

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?

Foi útil?

Solução

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/

Outras dicas

Yes, last week. No warning from Facebook.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top