# Google Ads Ad Manager V1 Client - Class EntitySignalsMapping (0.1.1)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.1.1 (latest)](https://docs.cloud.google.com/php/docs/reference/googleads/ad-manager/latest/V1.EntitySignalsMapping)
- [0.1.0](https://docs.cloud.google.com/php/docs/reference/googleads/ad-manager/0.1.0/V1.EntitySignalsMapping)
Reference documentation and code samples for the Google Ads Ad Manager V1 Client class EntitySignalsMapping.

The `EntitySignalsMapping` resource.

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

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ audience_segment_id` | `int|string` ID of an AudienceSegment that this mapping belongs to. |
| `↳ content_bundle_id` | `int|string` ID of a ContentBundle that this mapping belongs to. |
| `↳ custom_targeting_value_id` | `int|string` ID of a CustomValue that this mapping belongs to. |
| `↳ name` | `string` Identifier. The resource name of the `EntitySignalsMapping`. Format: `networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}` |
| `↳ entity_signals_mapping_id` | `int|string` Output only. `EntitySignalsMapping` ID. |
| `↳ taxonomy_category_ids` | `array` Required. The IDs of the categories that are associated with the referencing entity. |

### getAudienceSegmentId

ID of an AudienceSegment that this mapping belongs to.

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

### hasAudienceSegmentId

### setAudienceSegmentId

ID of an AudienceSegment that this mapping belongs to.

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

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

### getContentBundleId

ID of a ContentBundle that this mapping belongs to.

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

### hasContentBundleId

### setContentBundleId

ID of a ContentBundle that this mapping belongs to.

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

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

### getCustomTargetingValueId

ID of a CustomValue that this mapping belongs to.

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

### hasCustomTargetingValueId

### setCustomTargetingValueId

ID of a CustomValue that this mapping belongs to.

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

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

### getName

Identifier. The resource name of the `EntitySignalsMapping`.

Format:
`networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}`

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

### setName

Identifier. The resource name of the `EntitySignalsMapping`.

Format:
`networks/{network_code}/entitySignalsMappings/{entity_signals_mapping_id}`

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

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

### getEntitySignalsMappingId

Output only. `EntitySignalsMapping` ID.

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

### setEntitySignalsMappingId

Output only. `EntitySignalsMapping` ID.

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

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

### getTaxonomyCategoryIds

Required. The IDs of the categories that are associated with the
referencing entity.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/RepeatedField` |   |

### setTaxonomyCategoryIds

Required. The IDs of the categories that are associated with the
referencing entity.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int[]|string[]|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/RepeatedField` |

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

### getEntity

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