Reference documentation and code samples for the Google Ads Ad Manager V1 Client class DeviceCategory.
Represents the category of a device. For example, "smartphone" or "desktop".
Generated from protobuf message google.ads.admanager.v1.DeviceCategory
Namespace
Google \ Ads \ AdManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the DeviceCategory
. Format: networks/{network_code}/deviceCategories/{device_category}
↳ display_name
string
Output only. The display name of the device category.
getName
Identifier. The resource name of the DeviceCategory
.
Format: networks/{network_code}/deviceCategories/{device_category}
string
setName
Identifier. The resource name of the DeviceCategory
.
Format: networks/{network_code}/deviceCategories/{device_category}
var
string
$this
getDisplayName
Output only. The display name of the device category.
string
hasDisplayName
clearDisplayName
setDisplayName
Output only. The display name of the device category.
var
string
$this