Method: advertisers.negativeKeywordLists.negativeKeywords.replace

1 つの除外キーワード リスト内のすべての除外キーワードを置き換えます。

この操作を行うと、除外キーワード リスト内のキーワードが ReplaceNegativeKeywordsRequest.new_negative_keywords で指定されたキーワードに置き換えられます。

HTTP リクエスト

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

この URL は gRPC Transcoding 構文を使用します。

パスパラメータ

パラメータ
advertiserId

string (int64 format)

必須。親除外キーワード リストが属するディスプレイ&ビデオ 360 広告主の 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 の概要をご覧ください。