Class DeviceCategory
Represents the category of a device. For example, "smartphone" or "desktop".
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class DeviceCategory : IMessage<DeviceCategory>, IEquatable<DeviceCategory>, IDeepCloneable<DeviceCategory>, IBufferMessage, IMessage
Constructors
DeviceCategory()
Declaration
public DeviceCategory()
DeviceCategory(DeviceCategory)
Declaration
public DeviceCategory(DeviceCategory other)
Parameters
| Type | Name | Description |
|---|---|---|
| DeviceCategory | other |
Properties
DeviceCategoryName
DeviceCategoryName-typed view over the Name resource name property.
Declaration
public DeviceCategoryName DeviceCategoryName { get; set; }
Property Value
| Type | Description |
|---|---|
| DeviceCategoryName |
DisplayName
Output only. The display name of the device category.
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HasDisplayName
Gets whether the "display_name" field is set
Declaration
public bool HasDisplayName { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
Identifier. The resource name of the DeviceCategory.
Format: networks/{network_code}/deviceCategories/{device_category}
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |