1 つの除外キーワード リスト内のすべての除外キーワードを置き換えます。
この操作により、除外キーワード リスト内のキーワードが ReplaceNegativeKeywordsRequest.new_negative_keywords で指定されたキーワードに置き換えられます。
HTTP リクエスト
POST https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/negativeKeywordLists/{negativeKeywordListId}/negativeKeywords:replace
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
| パラメータ | |
|---|---|
advertiserId | 
                
                   
 必須。親の除外キーワード リストが属するディスプレイ&ビデオ 360 広告主の ID。  | 
              
negativeKeywordListId | 
                
                   
 必須。除外キーワードが属する親除外キーワード リストの ID。  | 
              
リクエスト本文
リクエストの本文には、次の構造のデータが含まれます。
| JSON 表現 | 
|---|
{
  "newNegativeKeywords": [
    {
      object ( | 
                
| フィールド | |
|---|---|
newNegativeKeywords[] | 
                  
                     
 除外キーワード リスト内の既存のキーワードを置き換える除外キーワード。  | 
                
レスポンスの本文
成功した場合、レスポンスの本文には次の構造のデータが含まれます。
NegativeKeywordService.ReplaceNegativeKeyword に対するレスポンス メッセージです。
| JSON 表現 | 
|---|
{
  "negativeKeywords": [
    {
      object ( | 
                  
| フィールド | |
|---|---|
negativeKeywords[] | 
                    
                       
 除外キーワードの全リストが除外キーワード リストに含まれるようになりました。  | 
                  
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/display-video
詳しくは、OAuth 2.0 の概要をご覧ください。