AdWordsApp.​ProductCustomLabelBuilder

Builder for ProductCustomLabel objects.

Methods:

MemberTypeDescription
build AdWordsApp.ProductCustomLabelOperation Builds the product custom label.
withBid AdWordsApp.ProductCustomLabelBuilder Specifies the bid of the product custom label.
withType AdWordsApp.ProductCustomLabelBuilder Specifies the type of custom label and return the product custom label builder.
withValue AdWordsApp.ProductCustomLabelBuilder Specifies the value of the product custom label.

build()

Builds the product custom label. Returns a ProductCustomLabelOperation that corresponds to the creation of the ProductCustomLabel.

Return values:

TypeDescription
AdWordsApp.ProductCustomLabelOperation The ProductCustomLabelOperation.

withBid(bid)

Specifies the bid of the product custom label. If this is unspecified, will use the bid of the parent product group.

Arguments:

NameTypeDescription
bid double The bid.

Return values:

TypeDescription
AdWordsApp.ProductCustomLabelBuilder The ProductCustomLabelBuilder with the specified bid.

withType(type)

Specifies the type of custom label and return the product custom label builder.

Arguments:

NameTypeDescription
type String The type of custom label. Possible values: CUSTOM_LABEL_0, CUSTOM_LABEL_1, CUSTOM_LABEL_2, CUSTOM_LABEL_3, CUSTOM_LABEL_4.

Return values:

TypeDescription
AdWordsApp.ProductCustomLabelBuilder The product custom label builder.

withValue(value)

Specifies the value of the product custom label.

Arguments:

NameTypeDescription
value String The value.

Return values:

TypeDescription
AdWordsApp.ProductCustomLabelBuilder The ProductCustomLabelBuilder with the specified value.

发送以下问题的反馈:

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