Class DeviceCategoryTargeting
Represents a list of targeted and excluded device categories.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class DeviceCategoryTargeting : IMessage<DeviceCategoryTargeting>, IEquatable<DeviceCategoryTargeting>, IDeepCloneable<DeviceCategoryTargeting>, IBufferMessage, IMessage
Constructors
DeviceCategoryTargeting()
Declaration
public DeviceCategoryTargeting()
DeviceCategoryTargeting(DeviceCategoryTargeting)
Declaration
public DeviceCategoryTargeting(DeviceCategoryTargeting other)
Parameters
| Type | Name | Description |
|---|---|---|
| DeviceCategoryTargeting | other |
Properties
ExcludedCategories
Optional. A list of device category resource names that should be excluded.
Declaration
public RepeatedField<string> ExcludedCategories { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
ExcludedCategoriesAsDeviceCategoryNames
DeviceCategoryName-typed view over the ExcludedCategories resource name property.
Declaration
public ResourceNameList<DeviceCategoryName> ExcludedCategoriesAsDeviceCategoryNames { get; }
Property Value
| Type | Description |
|---|---|
| ResourceNameList<DeviceCategoryName> |
TargetedCategories
Optional. A list of device category resource names that should be targeted/included.
Declaration
public RepeatedField<string> TargetedCategories { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<string> |
TargetedCategoriesAsDeviceCategoryNames
DeviceCategoryName-typed view over the TargetedCategories resource name property.
Declaration
public ResourceNameList<DeviceCategoryName> TargetedCategoriesAsDeviceCategoryNames { get; }
Property Value
| Type | Description |
|---|---|
| ResourceNameList<DeviceCategoryName> |