Places Insights quick reference

Places Insights makes Google Maps places data available as BigQuery data exchange listings (with no REST endpoint) so you can write SQL queries or call predefined Places Count functions for aggregated place counts, density, and monthly historical change analysis (back to January 2024) filtered by attributes such as type, brand, rating, opening hours, and EV charging.

Places Insights: key facts

  • Product: Places Insights
  • Also known as: Places Insights dataset
  • Category: Analytics
  • Platform: Dataset
  • Launch stage: GA
  • Lifecycle: Active
  • Overview: Places Insights overview
  • Regional availability: Limited. Full datasets for 50 supported countries and regions, plus city sample datasets. Brands data is available only in the US, Canada, the UK, and Australia. You can query only the listings you've subscribed to. (coverage details)

Places Insights: when to use it

Use Places Insights when:

  • You need aggregated counts or density of places by type, brand, rating, hours, EV charging, or accessibility within an area, queried with SQL in BigQuery.
  • You need POI context for site selection, location performance evaluation, sales forecasting, or market research models.
  • You need place counts or sample Place IDs grouped by H3 cells or custom geographic boundaries.
  • You need to analyze place trends or compare store openings and closings across monthly snapshots back to January 2024.

Don't use Places Insights when:

  • You need details for an individual place, such as name, address, or hours, instead of aggregate counts. Use Places API (New) instead.
  • You need an HTTP REST API for real-time place counts or place IDs instead of querying BigQuery with SQL. Use Places Aggregate API instead.
  • You need ML embeddings that capture search trends, human activity patterns, and environmental context alongside POI counts. Use Population Dynamics Insights instead.

Places Insights: setup

Places Insights: common mistakes

  • Problem: Direct SQL queries on the places tables enforce an aggregation threshold of 1 (requiring WITH AGGREGATION_THRESHOLD): if a result count is 0, the entire row is omitted from the results without an error. Fix: Use Places Count functions (for example PLACES_COUNT_V2, PLACES_COUNT_PER_TYPE_V2, PLACES_COUNT_PER_H3, or PLACES_COUNT_CHANGE), which return explicit counts over a minimum search area of 40 m × 40 m. See /maps/documentation/placesinsights/queries.
  • Problem: A place is counted only if its center point falls inside the location restriction, so large places such as parks whose center is outside the area are excluded. Fix: Size the search area or polygon so that it contains the center points of the places you want to count. See /maps/documentation/placesinsights/queries.
  • Problem: The JSON object passed to PLACES_COUNT_PER_H3 has a 1 MB size limit; complex boundary geometries with thousands of vertices passed under the 'geography' key cause execution failures. Fix: Simplify geometries with ST_SIMPLIFY before passing them to the function. See /maps/documentation/placesinsights/place-count-functions/places-count-per-h3.
  • Problem: If the snapshot_date filter is omitted from a Places Count function call, the query returns data from the most recent snapshot, not historical data. Fix: Pass snapshot_date (or month1/month2 for PLACES_COUNT_CHANGE) in YYYY-MM format inside JSON_OBJECT (back to 2024-01). Direct SQL queries on places_historical and places_sample_historical require DATE format YYYY-MM-01. See /maps/documentation/placesinsights/overview.
  • Problem: PLACES_COUNT_V2, PLACES_COUNT_PER_TYPE_V2, and PLACES_COUNT_CHANGE fail if you pass a geographies array inside JSON_OBJECT or use named => SQL parameters. Fix: Pass a TABLE input_geographies argument with geo_id (STRING) and geo (GEOGRAPHY) columns plus a JSON_OBJECT filters argument (PLACES_COUNT_PER_TYPE_V2 also takes target_types as an ARRAY<STRING> second argument). See /maps/documentation/placesinsights/place-count-functions/places-count-v2.
  • Problem: Direct SQL queries on raw places tables can't select row-level id or business name columns (there is no name column), and Places Count functions cap sample_place_ids at 250 per row. Fix: Call a Places Count function to retrieve sample_place_ids, then pass them to Places API (New) Place Details to look up business names, addresses, or phone numbers. See /maps/documentation/placesinsights/overview.
  • Problem: Passing an input_geographies table in a different BigQuery region than the linked Places Insights dataset, or with duplicate geo_id values, causes query failures or incorrect joins. Fix: Create or stage input_geographies in the same BigQuery region as the linked dataset and make sure every row has a unique geo_id. See /maps/documentation/placesinsights/place-count-functions/places-count-v2.
  • Problem: Passing a PLACES_COUNT_PER_H3 CTE directly as TABLE input_geographies into PLACES_COUNT_CHANGE fails with a 400 BadRequest correlated subquery error. Fix: Pass base-table polygons or an inline UNNEST([STRUCT(...)]) table expression instead of chaining a PLACES_COUNT_PER_H3 CTE directly into PLACES_COUNT_CHANGE. See /maps/documentation/placesinsights/place-count-functions/places-count-change.

Places Insights: legacy and deprecated features

  • PLACES_COUNT: Legacy. Replacement: PLACES_COUNT_V2. Symptom: Returns a single count with no Place IDs, processes one search area per call, and counts the geography definition toward the 1 MB JSON parameter limit.
  • PLACES_COUNT_PER_TYPE: Legacy. Replacement: PLACES_COUNT_PER_TYPE_V2. Symptom: Processes a single search geography per call and counts the geography definition toward the 1 MB JSON parameter limit.
  • PLACES_COUNT_PER_GEO: Legacy. Replacement: PLACES_COUNT_V2. Symptom: Passes the geographies array inside the JSON parameter instead of a table parameter, so all geography definitions count toward the 1 MB JSON limit.

What you can do with Places Insights

See the guides linked below for each task, or compare across products in the Capabilities Explorer.