Page Summary
-
The distance view provides aggregated metrics based on a user's distance from advertiser location extensions.
-
Metrics in the distance view are available across various distance buckets.
-
When querying the
distance_view, specific resource fields, segments, and metrics are available for analysis. -
Attributed resources like
customerdo not segment metrics, while segmenting resources likecampaignwill.
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.
| Attributed resources |
|---|
| customer |
Fields from the above resources may be selected along with this
resource in your SELECT and WHERE clauses. These fields will not segment
metrics in your SELECT clause.
| Segmenting resources |
|---|
| campaign |
Fields from the above resources, when selected along with this resource in your SELECT and WHERE clauses, will segment metrics.
Fields/Segments/Metrics
This page shows all metrics and segments that can be put in the same SELECT clause as the fields of distance_view.
However, when you specify distance_view in the FROM clause, some metrics and segments
cannot be used.
Use the following filter to show only the fields that can be used when distance_view is specified in the FROM clause.
Is distance_view specified in the FROM clause of your query?
| info_outline Resource fields |
|---|
| distance_bucket |
| metric_system |
| resource_name |
| layers Segments |
|---|
| ad_network_type |
| conversion_action |
| conversion_action_category |
| conversion_action_name |
| date |
| day_of_week |
| device |
| external_conversion_source |
| month |
| month_of_year |
| quarter |
| week |
| year |
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||
|
||||||||||||||||||||