0.15.1 (latest) 0.15.0 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 MobileCarrierTargeting.

Mobile Carrier Targeting.

Used to target or exclude mobile carriers.

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

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ targeted_mobile_carriers` | `string[]` Optional. A list of mobile carrier resource names that should be targeted/included. |
| `↳ excluded_mobile_carriers` | `string[]` Optional. A list of mobile carrier resource names that should be excluded. |

### getTargetedMobileCarriers

Optional. A list of mobile carrier resource names that should be
targeted/included.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setTargetedMobileCarriers

Optional. A list of mobile carrier resource names that should be
targeted/included.

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

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

### getExcludedMobileCarriers

Optional. A list of mobile carrier resource names that should be excluded.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setExcludedMobileCarriers

Optional. A list of mobile carrier resource names that should be excluded.

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

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