Google Ads Ad Manager V1 Client - Class DeviceCapabilityTargeting (0.6.0)

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

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

setExcludedCapabilities

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

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: