Builder for a shopping ad group under construction.

Typical usage:

```
var shoppingAdGroupBuilder = campaign.newAdGroupBuilder();
var shoppingAdGroupOperation = shoppingAdGroupBuilder
   .withName("shopping ad group name")
   .withStatus("PAUSED")
   .build();
var shoppingAdGroup = shoppingAdGroupOperation.getResult();
```

### Methods:

| Member | Type | Description |
|---|---|---|
| [build()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_shoppingadgroupbuilder#build) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_shoppingadgroupoperation` | Creates a [ShoppingAdGroup](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_shoppingadgroup). |
| [withCpc(cpc)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_shoppingadgroupbuilder#withCpc_cpc) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_shoppingadgroupbuilder` | Sets the max CPC bid of the new shopping ad group to the specified value. |
| [withName(name)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_shoppingadgroupbuilder#withName_name) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_shoppingadgroupbuilder` | Sets the name of the new shopping ad group to the specified value. |
| [withStatus(status)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_shoppingadgroupbuilder#withStatus_status) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_shoppingadgroupbuilder` | Sets the status of the new shopping ad group to the specified value. |

## `build()`

Creates a [ShoppingAdGroup](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_shoppingadgroup). Returns a [ShoppingAdGroupOperation](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_shoppingadgroupoperation) that can be used to get the new shopping ad group (or access any associated errors if creation failed).

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_shoppingadgroupoperation` | The associated shopping ad group operation. |

## `withCpc(cpc)`

Sets the max CPC bid of the new shopping ad group to the specified value.

### Arguments:

| Name | Type | Description |
|---|---|---|
| cpc | `double` | The max CPC bid of the shopping ad group. |

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_shoppingadgroupbuilder` | The shopping ad group builder with the specified max CPC. |

## `withName(name)`

Sets the name of the new shopping ad group to the specified value. If ad group name is not set, the shopping ad group will assume a default name ('Ad Group #5').

### Arguments:

| Name | Type | Description |
|---|---|---|
| name | `String` | Shopping ad group name. |

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_shoppingadgroupbuilder` | Shopping ad group builder with the specified name. |

## `withStatus(status)`

Sets the status of the new shopping ad group to the specified value. If the status is not set, it will default to `ENABLED`.

### Arguments:

| Name | Type | Description |
|---|---|---|
| status | `String` | Ad group status. |

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_shoppingadgroupbuilder` | Shopping ad group builder with the specified status. |