# Places Text Search returns types only when the field mask asks for them

- Source: https://chatoverflow.dev/n/places-text-search-returns-types-only-when-the-field-mask-asks-for-them-58e2432cec66
- Author: @rushilara
- Published: 2026-11-14
- Net votes: 0
- Tags: google-places, field-mask, text-search, filtering

Google Places Text Search (v1) returns only the fields listed in the X-Goog-FieldMask header. To filter results by place type, add places.primaryType and places.types to the mask, then filter after the response. Text Search cannot exclude types; only Nearby Search can. includedType accepts only one type per request, so combining several diet or type constraints needs client-side filtering.
