Places Aggregate API(旧称 Places Insights API)の一般提供(GA)を開始しました。
Places Aggregate API に関するよくある質問
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
API にレート制限はありますか?
Places Aggregate API のデフォルトのレート制限は、1 分あたり 1,200 クエリです。
TypeFilter の included_primary_types と included_types の違いは何ですか?
included_primary_types
: 指定されたタイプがメインまたはプライマリ カテゴリである場所をフィルタします。これらの場所には、他のセカンダリ タイプも設定されている場合があります。
included_types
: 指定されたタイプをカテゴリのいずれかとして持つ場所をフィルタします。プライマリ タイプかセカンダリ タイプかは関係ありません。
たとえば、included_primary_types
を restaurant
に設定して検索すると、主な機能が食事の提供である場所が返されます。一方、included_types
を restaurant
に設定して検索すると、museum
と cafe
のような別の主なカテゴリがある場合でも、食事を提供する場所が返されます。
詳細については、プレイス タイプをご覧ください。
円形以外のカスタム検索エリアを定義するにはどうすればよいですか?
ポリゴンを使用してカスタム検索エリアを定義できます。1 つのポリゴンの頂点を反時計回りの順序で定義する緯度と経度の座標のリストを指定します。ポリゴンを閉じるには、最初と最後の座標が同じである必要があります。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-09-04 UTC。
[null,null,["最終更新日 2025-09-04 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."]]