AdsApp.​ExcludedPlacement

Represents a Google Ads excluded placement.

Methods:

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

getAdGroup()

Returns the ad group to which this excluded placement belongs.

Return values:

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

getBaseAdGroup()

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

Return values:

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

getBaseCampaign()

Returns the base campaign to which this excluded placement belongs.

Return values:

TypeDescription
AdsApp.Campaign The 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.Campaign The 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
String The ID of the excluded placement.

getResourceName()

Returns the resource name of the excluded placement.

Return values:

TypeDescription
String The resource name of the excluded placement.

getUrl()

Returns the URL of the excluded placement.

Return values:

TypeDescription
String The URL of the excluded placement.

remove()

Removes the excluded placement.

Returns nothing.