L'API Places Aggregate, precedentemente nota come API Places Insights, è ora disponibile a livello generale.
Domande frequenti sull'API Places Aggregate
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Esiste un limite di frequenza per l'API?
Per l'API Places Aggregate, è previsto un limite di frequenza predefinito di
1200 query al minuto.
Qual è la differenza tra "included_primary_types" e "included_types" in TypeFilter?
included_primary_types
: filtri per i luoghi in cui i tipi specificati sono la categoria principale. Questi luoghi potrebbero avere anche altri tipi
secondari.
included_types
: Filtri per i luoghi che hanno i tipi specificati come una delle loro categorie, indipendentemente dal fatto che si tratti del tipo principale o secondario.
Ad esempio, una ricerca che utilizza included_primary_types
impostato su restaurant
restituirebbe
luoghi la cui funzione principale è servire cibo, mentre included_types
impostato su restaurant
restituirebbe luoghi che servono cibo anche se hanno
un'altra categoria principale, ad esempio un museum
con un cafe
.
Per saperne di più, visita la pagina Tipi di luoghi.
Come faccio a definire un'area di ricerca personalizzata che non sia un cerchio?
Puoi definire un'area di ricerca personalizzata utilizzando un poligono. Fornisci un elenco di coordinate di latitudine e longitudine che definiscono i vertici di un singolo poligono in ordine antiorario. Le coordinate iniziali e finali devono essere uguali per
chiudere il poligono.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-08-29 UTC.
[null,null,["Ultimo aggiornamento 2025-08-29 UTC."],[],[],null,["# Places Aggregate API FAQ\n\nIs there a rate limit on the API?\n---------------------------------\n\nFor Places Aggregate API, there is a default rate limit of\n1,200 queries per minute.\n\nWhat is the difference between 'included_primary_types' and 'included_types' in the TypeFilter?\n-----------------------------------------------------------------------------------------------\n\n- `included_primary_types`: Filters for places where the specified types are their main or primary category. These places might also have other secondary types.\n- `included_types`: Filters for places that have the specified types as any of their categories, regardless of whether it's the primary or secondary type.\n\nFor example, a search using `included_primary_types` set to `restaurant` would\nreturn places whose primary function is to serve food, whereas `included_types`\nset to `restaurant` would return places that serve food even if they have\nanother primary category, such as a `museum` with a `cafe`.\n\nFor further reading, visit [Place Types](/maps/documentation/places/web-service/place-types).\n\nHow do I define a custom search area that isn't a circle?\n---------------------------------------------------------\n\nYou can define a custom search area using a polygon. Provide a list of latitude\nand longitude coordinates that define the vertices of a single polygon in a\ncounter-clockwise order. The first and last coordinates *must* be the same to\nclose the polygon."]]