AdsApp.​ProductChannelExclusivityBuilder

Builder for ProductChannelExclusivity objects.

Methods:

MemberTypeDescription
buildAdsApp.ProductChannelExclusivityOperationBuilds the product channel exclusivity.
withBidAdsApp.ProductChannelExclusivityBuilderSpecifies the bid of the product channel exclusivity.
withChannelExclusivityAdsApp.ProductChannelExclusivityBuilderSpecifies the channel exclusivity of the new product channel exclusivity.
withValueAdsApp.ProductChannelExclusivityBuilderSpecifies 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.ProductChannelExclusivityOperationThe 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
biddoubleThe bid.

Return values:

TypeDescription
AdsApp.ProductChannelExclusivityBuilderThe 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
channelExclusivityStringThe channel exclusivity to specify for the new product channel exclusivity.

Return values:

TypeDescription
AdsApp.ProductChannelExclusivityBuilderProduct channel exclusivity builder.

withValue(value)

Specifies the value of the product channel exclusivity.

Arguments:

NameTypeDescription
valueStringThe value.

Return values:

TypeDescription
AdsApp.ProductChannelExclusivityBuilderThe ProductChannelExclusivityBuilder with the specified value.