Google Ads Ad Manager V1 Client - Class DeviceCapability (0.5.0)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class DeviceCapability.

Represents a device capability.

Generated from protobuf message google.ads.admanager.v1.DeviceCapability

Namespace

Google \ Ads \ AdManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The resource name of the DeviceCapability. Format: networks/{network_code}/deviceCapabilities/{device_capability_id}

↳ display_name string

Output only. The localized name of the device capability.

getName

Identifier. The resource name of the DeviceCapability.

Format: networks/{network_code}/deviceCapabilities/{device_capability_id}

Returns
Type Description
string

setName

Identifier. The resource name of the DeviceCapability.

Format: networks/{network_code}/deviceCapabilities/{device_capability_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Output only. The localized name of the device capability.

Returns
Type Description
string

hasDisplayName

clearDisplayName

setDisplayName

Output only. The localized name of the device capability.

Parameter
Name Description
var string
Returns
Type Description
$this