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.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The resource name of the |
↳ 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}
Returns | |
---|---|
Type | Description |
string |
setName
Identifier. The resource name of the DeviceCategory
.
Format: networks/{network_code}/deviceCategories/{device_category}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDisplayName
Output only. The display name of the device category.
Returns | |
---|---|
Type | Description |
string |
hasDisplayName
clearDisplayName
setDisplayName
Output only. The display name of the device category.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |