Join us live onDiscord on the Google Advertising and Measurement Community server and onYouTube on February 26th at 11:00 AM EST! We will discuss the new features added in v23.1 of the Google Ads API.

keyword_theme_constant

A Smart Campaign keyword theme constant.

keyword_theme_constant.country_code

Field descriptionOutput only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". To display and query matching purpose, the keyword theme needs to be localized.
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

keyword_theme_constant.display_name

Field descriptionOutput only. The display name of the keyword theme or sub keyword theme.
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

keyword_theme_constant.language_code

Field descriptionOutput only. The ISO-639-1 language code with 2 letters of the constant, eg. "en". To display and query matching purpose, the keyword theme needs to be localized.
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

keyword_theme_constant.resource_name

Field descriptionOutput only. The resource name of the keyword theme constant. Keyword theme constant resource names have the form:keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLN/A
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

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.