AdWordsApp.​ExcludedPlacementListBuilder

Builder for an excluded placement list under construction.

Typical usage:

 var excludedPlacementListOperation =
     AdWordsApp.newExcludedPlacementListBuilder()
         .withName("ExcludedPlacementList")
         .build();
 var excludedPlacementList = excludedPlacementListOperation.getResult();

Note that it is only necessary to call ExcludedPlacementListOperation.getResult if you need to access the actual excluded placement list for further processing. Otherwise, calling ExcludedPlacementListBuilder.build() on the ExcludedPlacementListBuilder is sufficient to ensure that the ExcludedPlacementList is created.

Methods:

MemberTypeDescription
build AdWordsApp.ExcludedPlacementListOperation Creates a ExcludedPlacementList.
withName AdWordsApp.ExcludedPlacementListBuilder Sets the name of the new excluded placement list to the specified value.

build()

Creates a ExcludedPlacementList. Returns a ExcludedPlacementListOperation that can be used to get the new excluded placement list (or access any associated errors if creation failed).

Return values:

TypeDescription
AdWordsApp.ExcludedPlacementListOperation The associated excluded placement list operation.

withName(name)

Sets the name of the new excluded placement list to the specified value.

Arguments:

NameTypeDescription
name String Name of the new excluded placement list.

Return values:

TypeDescription
AdWordsApp.ExcludedPlacementListBuilder The excluded placement list builder with the specified name.

发送以下问题的反馈:

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