AdWordsApp.​ExcludedPlacementList

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 AdWordsApp.CampaignSelector Returns a selector of all campaigns this excluded placement list has been applied to.
excludedPlacements AdWordsApp.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 long Returns the ID of the excluded placement list.
getName String Returns the name of an 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
AdWordsApp.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
AdWordsApp.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
long 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.

setName(name)

Sets the name of an excluded placement list.

Returns nothing.

Arguments:

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

发送以下问题的反馈:

此网页
AdWords Scripts
AdWords Scripts
需要帮助?请访问我们的支持页面