0.17.0 (latest) 0.16.0 0.15.1 0.14.1 0.8.0 0.7.0 0.6.2 0.5.0 0.4.1 0.3.1 0.2.0 0.1.3 Reference documentation and code samples for the Google Ads Ad Manager V1 Client class AudienceSegmentCategory.

The category of an audience segment.

Generated from protobuf message `google.ads.admanager.v1.AudienceSegmentCategory`

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The resource name of the `AudienceSegmentCategory`. Format: `networks/{network_code}/audienceSegmentCategories/{audience_segment_category_id}` |
| `↳ display_name` | `string` Output only. The display name of the audience segment category. |
| `↳ parent` | `string` Output only. The audience segment category's parent. Format: `networks/{network_code}/audienceSegmentCategories/{audience_segment_category}` |

### getName

Identifier. The resource name of the `AudienceSegmentCategory`.

Format:
`networks/{network_code}/audienceSegmentCategories/{audience_segment_category_id}`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Identifier. The resource name of the `AudienceSegmentCategory`.

Format:
`networks/{network_code}/audienceSegmentCategories/{audience_segment_category_id}`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDisplayName

Output only. The display name of the audience segment category.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasDisplayName

### clearDisplayName

### setDisplayName

Output only. The display name of the audience segment category.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getParent

Output only. The audience segment category's parent.

Format:
`networks/{network_code}/audienceSegmentCategories/{audience_segment_category}`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasParent

### clearParent

### setParent

Output only. The audience segment category's parent.

Format:
`networks/{network_code}/audienceSegmentCategories/{audience_segment_category}`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |