> [!CAUTION]
> **Caution:** This documentation is for Google Ads API **v23** . The latest active version is [**v26**](https://developers.google.com/google-ads/api/reference/rpc/latest/DistanceView).

A distance view with metrics aggregated by the user's distance from an advertiser's location extensions. Each DistanceBucket includes all impressions that fall within its distance and a single impression will contribute to the metrics for all DistanceBuckets that include the user's distance.

[Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v23/resources/distance_view.proto)

| Fields ||
|---|---|
| ## `distance_bucket` | `DistanceBucket` Output only. Grouping of user distance from location extensions. |
| ## `metric_system` | `bool` Output only. True if the DistanceBucket is using the metric system, false otherwise. |
| ## `resource_name` | `string` Output only. The resource name of the distance view. Distance view resource names have the form: `customers/{customer_id}/distanceViews/1~{distance_bucket}` |