Contents

NegativeKeywordCreate

The request body for creating a new negative keyword.

Declaration

object NegativeKeywordCreate

Properties

NameTypeDescription
campaignIdint64

Scopes this negative keyword to a specific campaign. Required for campaign-level negatives when calling POST /v1/negative-keywords (Create a Negative Keyword) directly. Must not be set for ad group-level negatives.

adGroupIdint64

Scopes this negative keyword to a specific ad group. Required for ad group-level negatives when calling POST /v1/negative-keywords (Create a Negative Keyword) directly. Don’t set campaignId when providing this field.

text Requiredstring

The keyword text to exclude. Immutable after creation. To correct it, delete the existing record and create a new one.

matchTypeNegativeKeywordCreate.MatchType

The match type for this negative keyword. See KeywordMatchType. Defaults to BROAD if omitted. Immutable after creation.

statusNegativeKeywordCreate.Status

Whether this negative keyword is active. See NegativeKeywordStatus. Defaults to ENABLED if omitted.

Discussion

The NegativeKeywordCreate object is the request payload for adding a negative keyword to a campaign or ad group.

Example

{
  "campaignId": 123456789,
  "text": "AwayFinder competitor app",
  "matchType": "PHRASE",
  "status": "ENABLED"
}

Topics

Type Aliases

See Also