KeywordThemeConstant

  • Smart Campaign keyword theme constants are defined by several fields, including resource name, country code, language code, and display name.

  • Theresource_name field is read-only and follows a specific format incorporating a keyword theme ID and sub-keyword theme ID.

  • Both thecountry_code andlanguage_code fields are read-only and indicate the localization of the keyword theme constant using ISO standards.

  • Thedisplay_name field provides the read-only, human-readable name for the keyword theme or sub-keyword theme.

A Smart Campaign keyword theme constant.

Proto definition

Fields

country_code

string

Output 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.

display_name

string

Output only. The display name of the keyword theme or sub keyword theme.

language_code

string

Output 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.

resource_name

string

Output 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}

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 2025-12-12 UTC.