A Smart campaign search term view.
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.
Fields/Segments/Metrics
This page shows all metrics and segments that can be put in the same SELECT clause as the fields of
smart_campaign_search_term_view
.
However, when you specify
smart_campaign_search_term_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
smart_campaign_search_term_view
is specified in the FROM clause.
Is
smart_campaign_search_term_view
specified in the FROM clause of your query?
smart_campaign_search_term_view.campaign
|
Field description
| Output only. The Smart campaign the search term served in.
|
Category
| ATTRIBUTE
|
Data Type
| RESOURCE_NAME
|
Type URL
| N/A
|
Filterable
| True
|
Selectable
| True
|
Sortable
| False
|
Repeated
| False
|
|
smart_campaign_search_term_view.resource_name
|
Field description
| Output only. The resource name of the Smart campaign search term view. Smart campaign search term view resource names have the form:
customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL-base64_search_term}
|
Category
| ATTRIBUTE
|
Data Type
| RESOURCE_NAME
|
Type URL
| N/A
|
Filterable
| True
|
Selectable
| True
|
Sortable
| False
|
Repeated
| False
|
|
smart_campaign_search_term_view.search_term
|
Field description
| Output only. The search term.
|
Category
| ATTRIBUTE
|
Data Type
| STRING
|
Type URL
| N/A
|
Filterable
| True
|
Selectable
| True
|
Sortable
| True
|
Repeated
| False
|
|
segments.date
|
Field description
| Date to which metrics apply. yyyy-MM-dd format, for example, 2018-04-17.
|
Category
| SEGMENT
|
Data Type
| DATE
|
Type URL
| N/A
|
Filterable
| True
|
Selectable
| True
|
Sortable
| True
|
Repeated
| False
|
|
segments.day_of_week
|
Field description
| Day of the week, for example, MONDAY.
|
Category
| SEGMENT
|
Data Type
|
ENUM
FRIDAY
MONDAY
SATURDAY
SUNDAY
THURSDAY
TUESDAY
UNKNOWN
UNSPECIFIED
WEDNESDAY
|
Type URL
| google.ads.googleads.v15.enums.DayOfWeekEnum.DayOfWeek
|
Filterable
| True
|
Selectable
| True
|
Sortable
| True
|
Repeated
| False
|
|
segments.month
|
Field description
| Month as represented by the date of the first day of a month. Formatted as yyyy-MM-dd.
|
Category
| SEGMENT
|
Data Type
| DATE
|
Type URL
| N/A
|
Filterable
| True
|
Selectable
| True
|
Sortable
| True
|
Repeated
| False
|
|
segments.month_of_year
|
Field description
| Month of the year, for example, January.
|
Category
| SEGMENT
|
Data Type
|
ENUM
APRIL
AUGUST
DECEMBER
FEBRUARY
JANUARY
JULY
JUNE
MARCH
MAY
NOVEMBER
OCTOBER
SEPTEMBER
UNKNOWN
UNSPECIFIED
|
Type URL
| google.ads.googleads.v15.enums.MonthOfYearEnum.MonthOfYear
|
Filterable
| True
|
Selectable
| True
|
Sortable
| True
|
Repeated
| False
|
|
segments.quarter
|
Field description
| Quarter as represented by the date of the first day of a quarter. Uses the calendar year for quarters, for example, the second quarter of 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd.
|
Category
| SEGMENT
|
Data Type
| DATE
|
Type URL
| N/A
|
Filterable
| True
|
Selectable
| True
|
Sortable
| True
|
Repeated
| False
|
|
segments.week
|
Field description
| Week as defined as Monday through Sunday, and represented by the date of Monday. Formatted as yyyy-MM-dd.
|
Category
| SEGMENT
|
Data Type
| DATE
|
Type URL
| N/A
|
Filterable
| True
|
Selectable
| True
|
Sortable
| True
|
Repeated
| False
|
|
segments.year
|
Field description
| Year, formatted as yyyy.
|
Category
| SEGMENT
|
Data Type
| INT32
|
Type URL
| N/A
|
Filterable
| True
|
Selectable
| True
|
Sortable
| True
|
Repeated
| False
|
|
metrics.clicks
|
Field description
| The number of clicks.
|
Category
| METRIC
|
Data Type
| INT64
|
Type URL
| N/A
|
Filterable
| True
|
Selectable
| True
|
Sortable
| True
|
Repeated
| False
|
|
metrics.cost_micros
|
Field description
| The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.
|
Category
| METRIC
|
Data Type
| INT64
|
Type URL
| N/A
|
Filterable
| True
|
Selectable
| True
|
Sortable
| True
|
Repeated
| False
|
|
metrics.impressions
|
Field description
| Count of how often your ad has appeared on a search results page or website on the Google Network.
|
Category
| METRIC
|
Data Type
| INT64
|
Type URL
| N/A
|
Filterable
| True
|
Selectable
| True
|
Sortable
| True
|
Repeated
| False
|
|