Method: advertisers.negativeKeywordLists.negativeKeywords.replace

替换单个否定关键字列表中的所有否定关键字。

此操作会将否定关键字列表中的关键字替换为 ReplaceNegativeKeywordsRequest.new_negative_keywords 中提供的关键字。

HTTP 请求

POST https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListId}/negativeKeywords:replace

网址采用 gRPC 转码语法。

路径参数

参数
advertiserId

string (int64 format)

必需。父级否定关键字列表所属的 DV360 广告客户的 ID。

negativeKeywordListId

string (int64 format)

必需。否定关键字所属的父级否定关键字列表的 ID。

请求正文

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

JSON 表示法
{
  "newNegativeKeywords": [
    {
      object (NegativeKeyword)
    }
  ]
}
字段
newNegativeKeywords[]

object (NegativeKeyword)

用于替换否定关键字列表中现有关键字的否定关键字,以 NegativeKeywords 列表的形式指定。

响应正文

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

NegativeKeywordService.ReplaceNegativeKeyword 的响应消息。

JSON 表示法
{
  "negativeKeywords": [
    {
      object (NegativeKeyword)
    }
  ]
}
字段
negativeKeywords[]

object (NegativeKeyword)

完整的否定关键字列表现在会显示在否定关键字列表中。

授权范围

需要以下 OAuth 作用域:

  • https://www.googleapis.com/auth/display-video

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