AdsApp.​ExcludedDisplayKeyword

Represents a Google Ads excluded display keyword.

Methods:

MemberTypeDescription
getAdGroupAdsApp.AdGroupReturns the ad group to which this excluded display keyword belongs.
getBaseAdGroupAdsApp.AdGroupReturns the base ad group to which this excluded display keyword belongs.
getBaseCampaignAdsApp.CampaignReturns the base campaign to which this excluded display keyword belongs.
getCampaignAdsApp.CampaignReturns the campaign to which this excluded display keyword belongs or null if it does not belong to a search or display campaign.
getIdStringReturns the ID of the excluded display keyword.
getResourceNameStringReturns the resource name of the excluded display keyword.
getTextStringReturns the text of the excluded display keyword.
removevoidRemoves the excluded display keyword.

getAdGroup()

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

Return values:

TypeDescription
AdsApp.AdGroupThe 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.AdGroupThe 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.CampaignThe 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.CampaignThe 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
StringThe ID of the excluded display keyword.

getResourceName()

Returns the resource name of the excluded display keyword.

Return values:

TypeDescription
StringThe resource name of the excluded display keyword.

getText()

Returns the text of the excluded display keyword.

Return values:

TypeDescription
StringThe text of the excluded display keyword.

remove()

Removes the excluded display keyword.

Returns nothing.