AdsApp.​ProductChannelExclusivityBuilder

Builder for ProductChannelExclusivity objects.

Methods:

MemberTypeDescription
build AdsApp.ProductChannelExclusivityOperation Builds the product channel exclusivity.
withBid AdsApp.ProductChannelExclusivityBuilder Specifies the bid of the product channel exclusivity.
withChannelExclusivity AdsApp.ProductChannelExclusivityBuilder Specifies the channel exclusivity of the new product channel exclusivity.
withValue AdsApp.ProductChannelExclusivityBuilder Specifies the value of the product channel exclusivity.

build()

Builds the product channel exclusivity. Returns a ProductChannelExclusivityOperation that corresponds to the creation of the ProductChannelExclusivity.

Return values:

TypeDescription
AdsApp.ProductChannelExclusivityOperation The ProductChannelExclusivityOperation.

withBid(bid)

Specifies the bid of the product channel exclusivity. If this is unspecified, will use the bid of the parent product group.

Arguments:

NameTypeDescription
bid double The bid.

Return values:

TypeDescription
AdsApp.ProductChannelExclusivityBuilder The ProductChannelExclusivityBuilder with the specified bid.

withChannelExclusivity(channelExclusivity)

Specifies the channel exclusivity of the new product channel exclusivity. This must be called before calling ProductChannelExclusivityBuilder.build() otherwise, creation of the ProductChannelExclusivity will fail.

Arguments:

NameTypeDescription
channelExclusivity String The channel exclusivity to specify for the new product channel exclusivity.

Return values:

TypeDescription
AdsApp.ProductChannelExclusivityBuilder Product channel exclusivity builder.

withValue(value)

Specifies the value of the product channel exclusivity.

Arguments:

NameTypeDescription
value String The value.

Return values:

TypeDescription
AdsApp.ProductChannelExclusivityBuilder The ProductChannelExclusivityBuilder with the specified value.