Google Ads API is returning to beta status. Please read our blog post for more details.

click_view

The ClickView referenced in the query.
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
ad_group
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 click_view. However, when you specify click_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 click_view is specified in the FROM clause.

Is click_view specified in the FROM clause of your query?

info_outline  Resource fields
area_of_interest.city
area_of_interest.country
area_of_interest.metro
area_of_interest.most_specific
area_of_interest.region
gclid
location_of_presence.city
location_of_presence.country
location_of_presence.metro
location_of_presence.most_specific
location_of_presence.region
page_number
resource_name
layers  Segments
ad_network_type
click_type
date
device
month_of_year
slot
show_chart  Metrics
clicks

click_view.area_of_interest.city

Field descriptionThe city location criterion associated with the impression.
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

click_view.area_of_interest.country

Field descriptionThe country location criterion associated with the impression.
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

click_view.area_of_interest.metro

Field descriptionThe metro location criterion associated with the impression.
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

click_view.area_of_interest.most_specific

Field descriptionThe most specific location criterion associated with the impression.
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

click_view.area_of_interest.region

Field descriptionThe region location criterion associated with the impression.
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

click_view.gclid

Field descriptionThe Google Click ID.
CategoryATTRIBUTE
Data TypeSTRING
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

click_view.location_of_presence.city

Field descriptionThe city location criterion associated with the impression.
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

click_view.location_of_presence.country

Field descriptionThe country location criterion associated with the impression.
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

click_view.location_of_presence.metro

Field descriptionThe metro location criterion associated with the impression.
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

click_view.location_of_presence.most_specific

Field descriptionThe most specific location criterion associated with the impression.
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

click_view.location_of_presence.region

Field descriptionThe region location criterion associated with the impression.
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

click_view.page_number

Field descriptionPage number in search results where the ad was shown.
CategoryATTRIBUTE
Data TypeINT64
Type URLgoogle.protobuf.Int64Value
FilterableFalse
SelectableTrue
SortableFalse
RepeatedFalse

click_view.resource_name

Field descriptionThe resource name of the click view. Click view resource names have the form: `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}`
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLN/A
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

segments.ad_network_type

Field descriptionAd network type.
CategorySEGMENT
Data Type
Type URLgoogle.ads.googleads.v1.enums.AdNetworkTypeEnum.AdNetworkType
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

segments.click_type

Field descriptionClick type.
CategorySEGMENT
Data Type
Type URLgoogle.ads.googleads.v1.enums.ClickTypeEnum.ClickType
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

segments.date

Field descriptionDate to which metrics apply. yyyy-MM-dd format, e.g., 2018-04-17.
CategorySEGMENT
Data TypeDATE
Type URLgoogle.protobuf.StringValue
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

segments.device

Field descriptionDevice to which metrics apply.
CategorySEGMENT
Data Type
Type URLgoogle.ads.googleads.v1.enums.DeviceEnum.Device
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

segments.month_of_year

Field descriptionMonth of the year, e.g., January.
CategorySEGMENT
Data Type
Type URLgoogle.ads.googleads.v1.enums.MonthOfYearEnum.MonthOfYear
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

segments.slot

Field descriptionPosition of the ad.
CategorySEGMENT
Data Type
Type URLgoogle.ads.googleads.v1.enums.SlotEnum.Slot
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

metrics.clicks

Field descriptionThe number of clicks.
CategoryMETRIC
Data TypeINT64
Type URLgoogle.protobuf.Int64Value
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse