AdsApp.​ProductBrandBuilder

Builder for ProductBrand objects.

Methods:

Member Type Description
AdsApp.ProductBrandOperation Builds the product brand.
AdsApp.ProductBrandBuilder Specifies the bid of the product brand.
AdsApp.ProductBrandBuilder Specifies the name of the new product brand.
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:

Type Description
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:

Name Type Description
bid
double The bid.

Return values:

Type Description
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:

Name Type Description
productBrandName
String The name to specify for the new product brand.

Return values:

Type Description
AdsApp.ProductBrandBuilder Product brand builder with the specified name.

withValue(value)

Specifies the value of the product brand.

Arguments:

Name Type Description
value
String The value.

Return values:

Type Description
AdsApp.ProductBrandBuilder The ProductBrandBuilder with the specified value.
Create a Mobile Website
View Site in Mobile | Classic
Share by: