AdsApp.​ExcludedPlacementList

Represents an excluded placement list.

Methods:

MemberTypeDescription
addExcludedPlacementvoidAdds a SharedExcludedPlacement to an excluded placement list.
addExcludedPlacementsvoidAdds a list of SharedExcludedPlacement objects to an excluded placement list.
campaignsAdsApp.CampaignSelectorReturns a selector of all campaigns this excluded placement list has been applied to.
excludedPlacementsAdsApp.SharedExcludedPlacementSelectorReturns a selector of the shared excluded placements in an excluded placement list.
getEntityTypeStringReturns the type of this entity as a String, in this case, "ExcludedPlacementList".
getIdStringReturns the ID of the excluded placement list.
getNameStringReturns the name of an excluded placement list.
getResourceNameStringReturns the resource name of the excluded placement list.
setNamevoidSets the name of an excluded placement list.

addExcludedPlacement(url)

Adds a SharedExcludedPlacement to an excluded placement list.

Returns nothing.

Arguments:

NameTypeDescription
urlStringThe excluded placement URL.

addExcludedPlacements(urls)

Adds a list of SharedExcludedPlacement objects to an excluded placement list.

Returns nothing.

Arguments:

NameTypeDescription
urlsString[]The excluded placement URL.

campaigns()

Returns a selector of all campaigns this excluded placement list has been applied to.

Return values:

TypeDescription
AdsApp.CampaignSelectorA selector of all campaigns this excluded placement list has been applied to.

excludedPlacements()

Returns a selector of the shared excluded placements in an excluded placement list.

Return values:

TypeDescription
AdsApp.SharedExcludedPlacementSelectorA selector of the shared excluded placements in an excluded placement list.

getEntityType()

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

Return values:

TypeDescription
StringType of this entity: "ExcludedPlacementList".

getId()

Returns the ID of the excluded placement list.

Return values:

TypeDescription
StringThe ID of the excluded placement list.

getName()

Returns the name of an excluded placement list.

Return values:

TypeDescription
StringThe name of an excluded placement list.

getResourceName()

Returns the resource name of the excluded placement list.

Return values:

TypeDescription
StringThe resource name of the excluded placement list.

setName(name)

Sets the name of an excluded placement list.

Returns nothing.

Arguments:

NameTypeDescription
nameStringThe new name of the excluded placement list.