Method: keywordThemeConstants.suggest

按关键字主题返回 KeywordThemeConstant 建议。

抛出的错误列表:AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

HTTP 请求

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

网址采用 gRPC 转码语法。

请求正文

请求正文中包含结构如下的数据:

JSON 表示法
{
  "queryText": string,
  "countryCode": string,
  "languageCode": string
}
字段
queryText

string

将用于映射到相似关键字主题的查询文字。例如:“管道工”或“屋顶工”。

countryCode

string

由 ISO-3166 定义的由两个字母组成的大写国家/地区代码。此字段用于优化查询范围,如果未设置,则默认为“US”。

languageCode

string

两个字母的语言代码,用于获取用于优化查询范围的相应关键字主题。如果未设置,则默认为“en”。

响应正文

KeywordThemeConstantService.SuggestKeywordThemeConstants 的响应消息。

如果成功,响应正文将包含结构如下的数据:

JSON 表示法
{
  "keywordThemeConstants": [
    {
      object (KeywordThemeConstant)
    }
  ]
}
字段
keywordThemeConstants[]

object (KeywordThemeConstant)

智能广告系列关键字主题建议。

授权范围

需要以下 OAuth 作用域:

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

有关详情,请参阅 OAuth 2.0 概览