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

### Methods:

| Member | Type | Description |
|---|---|---|
| [build()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelbuilder#build) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productchanneloperation` | Builds the product channel. |
| [withBid(bid)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelbuilder#withBid_bid) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelbuilder` | Specifies the bid of the product channel. |
| [withChannel(channel)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelbuilder#withChannel_channel) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelbuilder` | Specifies the channel of the new product channel. |
| [withValue(value)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelbuilder#withValue_value) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelbuilder` | Specifies the value of the product channel. |

## `build()`

Builds the product channel. Returns a [ProductChannelOperation](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productchanneloperation) that corresponds to the creation of the [ProductChannel](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productchannel).

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productchanneloperation` | The ProductChannelOperation. |

## `withBid(bid)`

Specifies the bid of the product channel. 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_productchannelbuilder` | The ProductChannelBuilder with the specified bid. |

## `withChannel(channel)`

Specifies the channel of the new product channel. This must be called before calling [ProductChannelBuilder.build()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelbuilder#build) otherwise, creation of the [ProductChannel](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productchannel) will fail.

### Arguments:

| Name | Type | Description |
|---|---|---|
| channel | `String` | The channel to specify for the new product channel. |

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelbuilder` | Product channel builder. |

## `withValue(value)`

Specifies the value of the product channel.

### Arguments:

| Name | Type | Description |
|---|---|---|
| value | `String` | The value. |

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_productchannelbuilder` | The ProductChannelBuilder with the specified value. |