DistanceBucket

  • The content defines distance buckets for a user's proximity to an advertiser's location extension.

  • Distance buckets are provided in both kilometers and miles.

  • Specific distance ranges are defined, including within various increments and beyond the farthest specified distance.

The distance bucket for a user's distance from an advertiser's location extension.

Proto definition

Enums

BEYOND_40MILES

User was beyond 40 miles of the location.

BEYOND_65KM

User was beyond 65KM of the location.

UNKNOWN

Used for return value only. Represents value unknown in this version.

UNSPECIFIED

Not specified.

WITHIN_0_7MILES

User was within 0.7 miles of the location.

WITHIN_10KM

User was within 10KM of the location.

WITHIN_10MILES

User was within 10 miles of the location.

WITHIN_15KM

User was within 15KM of the location.

WITHIN_15MILES

User was within 15 miles of the location.

WITHIN_1KM

User was within 1KM of the location.

WITHIN_1MILE

User was within 1 mile of the location.

WITHIN_20KM

User was within 20KM of the location.

WITHIN_20MILES

User was within 20 miles of the location.

WITHIN_25KM

User was within 25KM of the location.

WITHIN_25MILES

User was within 25 miles of the location.

WITHIN_30KM

User was within 30KM of the location.

WITHIN_30MILES

User was within 30 miles of the location.

WITHIN_35KM

User was within 35KM of the location.

WITHIN_35MILES

User was within 35 miles of the location.

WITHIN_40KM

User was within 40KM of the location.

WITHIN_40MILES

User was within 40 miles of the location.

WITHIN_45KM

User was within 45KM of the location.

WITHIN_50KM

User was within 50KM of the location.

WITHIN_55KM

User was within 55KM of the location.

WITHIN_5KM

User was within 5KM of the location.

WITHIN_5MILES

User was within 5 miles of the location.

WITHIN_60KM

User was within 60KM of the location.

WITHIN_65KM

User was within 65KM of the location.

WITHIN_700M

User was within 700m of the location.

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.