AddressInfo Stay organized with collections Save and categorize content based on your preferences.
Page Summary
The address proximity criterion utilizes several fields to define a location, including postal code, province/state code and name, country code, street addresses (two lines, the second being write-only), and city name.
The second street address field (
street_address2) is specifically used for calculating geographical coordinates (longitude and latitude) if a geo-point is not provided.
Address for proximity criterion.
| Fields | |
|---|---|
|
Name of the city. |
|
Country code. |
|
Postal code. |
|
Province or state code. |
|
Province or state name. |
|
Street address line 1. |
|
Street address line 2. This field is write-only. It is only used for calculating the longitude and latitude of an address when geo_point is empty. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-12 UTC.