AdsApp.​ExcludedPlacement

Represents a Google Ads excluded placement.

Methods:

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

getAdGroup()

Returns the ad group to which this excluded placement belongs.

Return values:

TypeDescription
AdsApp.AdGroupThe ad group to which this excluded placement belongs.

getBaseAdGroup()

Returns the base ad group to which this excluded placement belongs.

Return values:

TypeDescription
AdsApp.AdGroupThe base ad group to which this excluded placement belongs.

getBaseCampaign()

Returns the base campaign to which this excluded placement belongs.

Return values:

TypeDescription
AdsApp.CampaignThe base campaign to which this excluded placement belongs.

getCampaign()

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

Return values:

TypeDescription
AdsApp.CampaignThe campaign to which this excluded placement belongs or null if it does not belong to a search or display campaign.

getId()

Returns the ID of the excluded placement.

Return values:

TypeDescription
StringThe ID of the excluded placement.

getResourceName()

Returns the resource name of the excluded placement.

Return values:

TypeDescription
StringThe resource name of the excluded placement.

getUrl()

Returns the URL of the excluded placement.

Return values:

TypeDescription
StringThe URL of the excluded placement.

remove()

Removes the excluded placement.

Returns nothing.