Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the REST Introduction for details.

Method: keywordThemeConstants.suggest

Returns KeywordThemeConstant suggestions by keyword themes.

List of thrown errors: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

HTTP request

POST https://googleads.googleapis.com/v8/keywordThemeConstants:suggest

The URL uses gRPC Transcoding syntax.

Request body

The request body contains data with the following structure:

JSON representation
{
  "queryText": string,
  "countryCode": string,
  "languageCode": string
}
Fields
queryText

string

The query text of a keyword theme that will be used to map to similar keyword themes. E.g. "plumber" or "roofer".

countryCode

string

Upper-case, two-letter country code as defined by ISO-3166. This for refining the scope of the query, default to 'US' if not set.

languageCode

string

The two letter language code for get corresponding keyword theme for refining the scope of the query, default to 'en' if not set.

Response body

If successful, the response body contains data with the following structure:

Response message for KeywordThemeConstantService.SuggestKeywordThemeConstants.

JSON representation
{
  "keywordThemeConstants": [
    {
      object (KeywordThemeConstant)
    }
  ]
}
Fields
keywordThemeConstants[]

object (KeywordThemeConstant)

Smart Campaign keyword theme suggestions.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adwords

For more information, see the OAuth 2.0 Overview.