AdsApp.​ProductTypeBuilder

Builder for ProductType objects.

Methods:

MemberTypeDescription
build AdsApp.ProductTypeOperation Builds the product type.
withBid AdsApp.ProductTypeBuilder Specifies the bid of the product type.
withValue AdsApp.ProductTypeBuilder Specifies the value of the product type.

build()

Builds the product type. Returns a ProductTypeOperation that corresponds to the creation of the ProductType.

Return values:

TypeDescription
AdsApp.ProductTypeOperation The ProductTypeOperation.

withBid(bid)

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

Arguments:

NameTypeDescription
bid double The bid.

Return values:

TypeDescription
AdsApp.ProductTypeBuilder The ProductTypeBuilder with the specified bid.

withValue(value)

Specifies the value of the product type.

Arguments:

NameTypeDescription
value String The value.

Return values:

TypeDescription
AdsApp.ProductTypeBuilder The ProductTypeBuilder with the specified value.