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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ targeted_capabilities |
array
Optional. A list of device capability resource names that should be targeted/included. |
↳ excluded_capabilities |
array
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\Internal\RepeatedField |
|
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\Internal\RepeatedField |
|
setExcludedCapabilities
Optional. A list of device capability resource names that should be excluded.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|