取代單一排除關鍵字清單中的所有排除關鍵字。
這項作業會將排除關鍵字清單中的關鍵字,替換為 ReplaceNegativeKeywordsRequest.new_negative_keywords 中提供的關鍵字。
HTTP 要求
POST https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListId}/negativeKeywords:replace
這個網址使用 gRPC 轉碼語法。
路徑參數
| 參數 | |
|---|---|
| advertiserId | 
 必要欄位。父項排除關鍵字清單所屬的 DV360 廣告主 ID。 | 
| negativeKeywordListId | 
 必要欄位。排除關鍵字所屬父項排除關鍵字清單的 ID。 | 
要求主體
要求主體會包含結構如下的資料:
| JSON 表示法 | 
|---|
| {
  "newNegativeKeywords": [
    {
      object ( | 
| 欄位 | |
|---|---|
| newNegativeKeywords[] | 
 要取代排除關鍵字清單中現有關鍵字的排除關鍵字,指定為  | 
回應主體
NegativeKeywordService.ReplaceNegativeKeywords 的回應訊息。
如果成功,回應主體會含有以下結構的資料:
| JSON 表示法 | 
|---|
| {
  "negativeKeywords": [
    {
      object ( | 
| 欄位 | |
|---|---|
| negativeKeywords[] | 
 排除關鍵字清單中目前的所有排除關鍵字。 | 
授權範圍
需要下列 OAuth 範圍:
- https://www.googleapis.com/auth/display-video
詳情請參閱OAuth 2.0 Overview。