AdsApp.​SharedNegativeKeyword

Represents a shared negative keyword.

Methods:

MemberTypeDescription
getEntityTypeStringReturns the type of this entity as a String, in this case, "SharedNegativeKeyword".
getMatchTypeStringReturns the match type of the negative keyword.
getNegativeKeywordListAdsApp.NegativeKeywordListReturns the NegativeKeywordList this keyword is in.
getTextStringReturns the text of the negative keyword.
removevoidRemoves the shared negative keyword.

getEntityType()

Returns the type of this entity as a String, in this case, "SharedNegativeKeyword".

Return values:

TypeDescription
StringType of this entity: "SharedNegativeKeyword".

getMatchType()

Returns the match type of the negative keyword. Possible values: BROAD, PHRASE, EXACT.

Return values:

TypeDescription
StringThe match type of the negative keyword.

getNegativeKeywordList()

Returns the NegativeKeywordList this keyword is in.

Return values:

TypeDescription
AdsApp.NegativeKeywordListThe NegativeKeywordList this keyword is in.

getText()

Returns the text of the negative keyword.

Return values:

TypeDescription
StringThe text of the negative keyword.

remove()

Removes the shared negative keyword.

Returns nothing.