AdWordsApp.​NegativeKeywordListBuilder

Builder for a negative keyword list under construction.

Typical usage:

 var negativeKeywordListOperation =
     AdWordsApp.newNegativeKeywordListBuilder()
         .withName("NegativeKeywordList")
         .build();
 var negativeKeywordList = negativeKeywordListOperation.getResult();

Note that it is only necessary to call NegativeKeywordListOperation.getResult if you need to access the actual negative keyword list for further processing. Otherwise, calling NegativeKeywordListBuilder.build() on the NegativeKeywordListBuilder is sufficient to ensure that the NegativeKeywordList is created.

Methods:

MemberTypeDescription
build AdWordsApp.NegativeKeywordListOperation Creates a NegativeKeywordList.
withName AdWordsApp.NegativeKeywordListBuilder Sets the name of the new negative keyword list to the specified value.

build()

Creates a NegativeKeywordList. Returns a NegativeKeywordListOperation that can be used to get the new negative keyword list (or access any associated errors if creation failed).

Return values:

TypeDescription
AdWordsApp.NegativeKeywordListOperation The associated negative keyword list operation.

withName(name)

Sets the name of the new negative keyword list to the specified value.

Arguments:

NameTypeDescription
name String Name of the new negative keyword list.

Return values:

TypeDescription
AdWordsApp.NegativeKeywordListBuilder The negative keyword list builder with the specified name.

Enviar comentários sobre…

Precisa de ajuda? Acesse nossa página de suporte.