Builder for [ProductBrand](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productbrand) objects.

### Methods:

| Member | Type | Description |
|---|---|---|
| [build()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productbrandbuilder#build) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productbrandoperation` | Builds the product brand. |
| [withBid(bid)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productbrandbuilder#withBid_bid) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productbrandbuilder` | Specifies the bid of the product brand. |
| [withName(productBrandName)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productbrandbuilder#withName_productBrandName) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productbrandbuilder` | Specifies the name of the new product brand. |
| [withValue(value)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productbrandbuilder#withValue_value) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productbrandbuilder` | Specifies the value of the product brand. |

## `build()`

Builds the product brand. Returns a [ProductBrandOperation](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productbrandoperation) that corresponds to the creation of the [ProductBrand](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productbrand).

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/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 |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/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()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_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 |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/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 |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productbrandbuilder` | The ProductBrandBuilder with the specified value. |