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 DeviceCapabilityTargeting.

Device Capability Targeting.

Can be used to target/exclude users using mobile apps, ad requests resulting
from apps built on the MRAID standard, or users on devices that are able to
make phone calls versus devices that aren't able to make phone calls, such as
tablets.

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

## Namespace

Google \\ Ads \\ AdManager \\ V1

## Methods

### __construct

Constructor.

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

### getTargetedCapabilities

Optional. A list of device capability resource names that should be
targeted/included.

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

### setTargetedCapabilities

Optional. A list of device capability resource names that should be
targeted/included.

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

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

### getExcludedCapabilities

Optional. A list of device capability resource names that should be
excluded.

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

### setExcludedCapabilities

Optional. A list of device capability resource names that should be
excluded.

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

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