location_view Stay organized with collections Save and categorize content based on your preferences.
Page Summary
The location view provides performance data for campaigns based on Location criteria and requires a Location criterion to return results.
You can select fields from
campaign,campaign_criterion,customer, andlocation_viewresources.When using
location_viewin theFROMclause, a specific set of metrics and segments are available.The
location_view.resource_nameis the resource name for the location view.Available segments include various conversion and date-related metrics.
Available metrics cover a range of performance indicators such as clicks, impressions, conversions, and costs.
A location view summarizes the performance of campaigns by a Location criterion. If no Location criterion is set, no results are returned; instead, use geographic_view or user_location_view for visitor location data.
| Attributed resources |
|---|
| campaign |
| campaign_criterion |
| customer |
Fields from the above resources may be selected along with this resource in your SELECT and WHERE clauses. These fieldswill not segment metrics in yourSELECT clause.
Fields/Segments/Metrics
This page shows all metrics and segments that can be put in the same SELECT clause as the fields oflocation_view. However, when you specifylocation_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 whenlocation_view is specified in the FROM clause.
Islocation_view specified in the FROM clause of your query?
| Resource fields |
|---|
| resource_name |
| Segments |
|---|
| conversion_action |
| conversion_action_category |
| conversion_action_name |
| date |
| external_conversion_source |
| month |
| month_of_year |
| new_versus_returning_customers |
| quarter |
| week |
| year |
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
| ||||||||||||||||||||
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 2026-01-29 UTC.