Builder for a negative keyword list under construction.
Typical usage:
var negativeKeywordListOperation =
AdsApp.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:
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:
withName(name)
Sets the name of the new negative keyword list to the specified value.
Arguments:
Name | Type | Description |
name |
String |
Name of the new negative keyword list. |
Return values: