AdsApp.​ProductBrandBuilder

Builder for ProductBrand objects.

Methods:

MemberTypeDescription
build AdsApp.ProductBrandOperation Builds the product brand.
withBid AdsApp.ProductBrandBuilder Specifies the bid of the product brand.
withName AdsApp.ProductBrandBuilder Specifies the name of the new product brand.
withValue AdsApp.ProductBrandBuilder Specifies the value of the product brand.

build()

Builds the product brand. Returns a ProductBrandOperation that corresponds to the creation of the ProductBrand.

Return values:

TypeDescription
AdsApp.ProductBrandOperation The ProductBrandOperation.

withBid(bid)

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

Arguments:

NameTypeDescription
bid double The bid.

Return values:

TypeDescription
AdsApp.ProductBrandBuilder The ProductBrandBuilder with the specified bid.

withName(productBrandName)

Specifies the name of the new product brand. If the name is unspecified before calling ProductBrandBuilder.build(), the brand will fail to build.

Arguments:

NameTypeDescription
productBrandName String The name to specify for the new product brand.

Return values:

TypeDescription
AdsApp.ProductBrandBuilder Product brand builder with the specified name.

withValue(value)

Specifies the value of the product brand.

Arguments:

NameTypeDescription
value String The value.

Return values:

TypeDescription
AdsApp.ProductBrandBuilder The ProductBrandBuilder with the specified value.