AdsApp.​SharedNegativeKeyword

  • This content represents a shared negative keyword.

  • The methods available for a shared negative keyword include retrieving its entity type, match type, the negative keyword list it belongs to, its text, and the ability to remove it.

  • The getEntityType() method returns "SharedNegativeKeyword".

  • The getMatchType() method returns the match type, which can be BROAD, PHRASE, or EXACT.

  • The remove() method removes the shared negative keyword and has no return value.

Represents a shared negative keyword.

Methods:

MemberTypeDescription
getEntityType() String Returns the type of this entity as a String, in this case, "SharedNegativeKeyword".
getMatchType() String Returns the match type of the negative keyword.
getNegativeKeywordList() AdsApp.NegativeKeywordList Returns the NegativeKeywordList this keyword is in.
getText() String Returns the text of the negative keyword.
remove() void Removes the shared negative keyword.

getEntityType()

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

Return values:

TypeDescription
String Type of this entity: "SharedNegativeKeyword".

getMatchType()

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

Return values:

TypeDescription
String The match type of the negative keyword.

getNegativeKeywordList()

Returns the NegativeKeywordList this keyword is in.

Return values:

TypeDescription
AdsApp.NegativeKeywordList The NegativeKeywordList this keyword is in.

getText()

Returns the text of the negative keyword.

Return values:

TypeDescription
String The text of the negative keyword.

remove()

Removes the shared negative keyword.

Returns nothing.