fix(search): drop Enterprise fields from the text search field mask (closes #18) #27
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/text-search-field-mask"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Decision
TEXT_SEARCH_FIELD_MASKno longer requestsplaces.ratingandplaces.userRatingCount.id,displayName,formattedAddressandbusinessStatusare Pro. The highest-priced requested field decides the SKU of the whole request, so the text search now bills as Pro (5,000 free calls per month instead of 1,000).lead_from_place(), the rating is always taken from Place Details (DETAILS_FIELD_MASKkeepsrating/userRatingCount). The duplicate filter and theCLOSED_PERMANENTLYfilter only needbusinessStatusandid, which stay.Test (demo site)
Run
LSR-2026-00006(Polsterei, Augsburg, limit 5): 5 leads created, 1 skipped, 7 requests (1 text search + 6 details). All 5 leads havecustom_google_rating, the origin note still shows rating and review count.🤖 Generated with Claude Code