AdsApp.​ExcludedPlacementList

Represents an excluded placement list.

Methods:

MemberTypeDescription
addExcludedPlacement void Adds a SharedExcludedPlacement to an excluded placement list.
addExcludedPlacements void Adds a list of SharedExcludedPlacement objects to an excluded placement list.
campaigns AdsApp.CampaignSelector Returns a selector of all campaigns this excluded placement list has been applied to.
excludedPlacements AdsApp.SharedExcludedPlacementSelector Returns a selector of the shared excluded placements in an excluded placement list.
getEntityType String Returns the type of this entity as a String, in this case, "ExcludedPlacementList".
getId String Returns the ID of the excluded placement list.
getName String Returns the name of an excluded placement list.
getResourceName String Returns the resource name of the excluded placement list.
setName void Sets the name of an excluded placement list.

addExcludedPlacement(url)

Adds a SharedExcludedPlacement to an excluded placement list.

Returns nothing.

Arguments:

NameTypeDescription
url String The excluded placement URL.

addExcludedPlacements(urls)

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

Returns nothing.

Arguments:

NameTypeDescription
urls String[] The excluded placement URL.

campaigns()

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

Return values:

TypeDescription
AdsApp.CampaignSelector A 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.SharedExcludedPlacementSelector A 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
String Type of this entity: "ExcludedPlacementList".

getId()

Returns the ID of the excluded placement list.

Return values:

TypeDescription
String The ID of the excluded placement list.

getName()

Returns the name of an excluded placement list.

Return values:

TypeDescription
String The name of an excluded placement list.

getResourceName()

Returns the resource name of the excluded placement list.

Return values:

TypeDescription
String The resource name of the excluded placement list.

setName(name)

Sets the name of an excluded placement list.

Returns nothing.

Arguments:

NameTypeDescription
name String The new name of the excluded placement list.