Returns the AdGroup to which the negative
keyword belongs. This will return null for campaign-level
negative keywords and negative keywords which do not belong to a search or
display ad group.
The AdGroup to which the negative
keyword belongs.
getBaseAdGroup()
Returns the base AdGroup to which the
negative keyword belongs. This will return null for
campaign-level negative keywords and negative keywords which do not belong
to a search or display ad group.
The campaign to which this negative keyword belongs or
null if it does
not belong to a search or display campaign.
getCampaignType()
Returns the campaign type. Possible return values:
SEARCH_OR_DISPLAY, VIDEO, SHOPPING
Return values:
Type
Description
String
Video campaign type.
getEntityType()
Returns the type of this entity as a String, in this case,
"NegativeKeyword".
Return values:
Type
Description
String
Type of this entity: "NegativeKeyword".
getMatchType()
Returns the match type of the negative keyword. Possible values:
BROAD, PHRASE, EXACT.
Return values:
Type
Description
String
The match type of the negative keyword.
getShoppingAdGroup()
Returns the ShoppingAdGroup to
which the negative keyword belongs. This will return null for
campaign-level negative keywords and negative keywords which do not belong
to a shopping ad group.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-23 UTC."],[],[]]