AdsApp.​ExcludedDisplayKeyword

Represents a Google Ads excluded display keyword.

Methods:

MemberTypeDescription
getAdGroup() AdsApp.AdGroup Returns the ad group to which this excluded display keyword belongs.
getBaseAdGroup() AdsApp.AdGroup Returns the base ad group to which this excluded display keyword belongs.
getBaseCampaign() AdsApp.Campaign Returns the base campaign to which this excluded display keyword belongs.
getCampaign() AdsApp.Campaign Returns the campaign to which this excluded display keyword belongs or null if it does not belong to a search or display campaign.
getId() String Returns the ID of the excluded display keyword.
getResourceName() String Returns the resource name of the excluded display keyword.
getText() String Returns the text of the excluded display keyword.
remove() void Removes the excluded display keyword.

getAdGroup()

Returns the ad group to which this excluded display keyword belongs.

Return values:

TypeDescription
AdsApp.AdGroup The ad group to which this excluded display keyword belongs.

getBaseAdGroup()

Returns the base ad group to which this excluded display keyword belongs.

Return values:

TypeDescription
AdsApp.AdGroup The base ad group to which this excluded display keyword belongs.

getBaseCampaign()

Returns the base campaign to which this excluded display keyword belongs.

Return values:

TypeDescription
AdsApp.Campaign The base campaign to which this excluded display keyword belongs.

getCampaign()

Returns the campaign to which this excluded display keyword belongs or null if it does not belong to a search or display campaign.

Return values:

TypeDescription
AdsApp.Campaign The campaign to which this excluded display keyword belongs or null if it does not belong to a search or display campaign.

getId()

Returns the ID of the excluded display keyword.

Return values:

TypeDescription
String The ID of the excluded display keyword.

getResourceName()

Returns the resource name of the excluded display keyword.

Return values:

TypeDescription
String The resource name of the excluded display keyword.

getText()

Returns the text of the excluded display keyword.

Return values:

TypeDescription
String The text of the excluded display keyword.

remove()

Removes the excluded display keyword.

Returns nothing.