AdWordsApp.​ProductBrandBuilder

Builder for ProductBrand objects.

Methods:

MemberTypeDescription
build AdWordsApp.ProductBrandOperation Builds the product brand.
withBid AdWordsApp.ProductBrandBuilder Specifies the bid of the product brand.
withName AdWordsApp.ProductBrandBuilder Specifies the name of the new product brand.
withValue AdWordsApp.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
AdWordsApp.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
AdWordsApp.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
AdWordsApp.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
AdWordsApp.ProductBrandBuilder The ProductBrandBuilder with the specified value.

Send feedback about...

AdWords Scripts
AdWords Scripts
Need help? Visit our support page.