Class CustomFieldValue.Types.Value
Represent custom field value type.
Inheritance
CustomFieldValue.Types.Value
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class CustomFieldValue.Types.Value : IMessage<CustomFieldValue.Types.Value>, IEquatable<CustomFieldValue.Types.Value>, IDeepCloneable<CustomFieldValue.Types.Value>, IBufferMessage, IMessage
Constructors
Value()
Declaration
Value(Value)
Declaration
public Value(CustomFieldValue.Types.Value other)
Parameters
Properties
DropdownValue
The custom_field_option_id, if the
[CustomFieldDataType][google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType]
is [DROPDOWN][CustomFieldDataTypeEnum.CustomFieldDataType.DROPDOWN].
Declaration
public long DropdownValue { get; set; }
Property Value
HasDropdownValue
Gets whether the "dropdown_value" field is set
Declaration
public bool HasDropdownValue { get; }
Property Value
HasNumberValue
Gets whether the "number_value" field is set
Declaration
public bool HasNumberValue { get; }
Property Value
HasStringValue
Gets whether the "string_value" field is set
Declaration
public bool HasStringValue { get; }
Property Value
HasToggleValue
Gets whether the "toggle_value" field is set
Declaration
public bool HasToggleValue { get; }
Property Value
NumberValue
The value, if the
[CustomFieldDataType][google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType]
is
[NUMBER][google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType.NUMBER].
Declaration
public double NumberValue { get; set; }
Property Value
StringValue
The value, if the
[CustomFieldDataType][google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType]
is
[STRING][google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType.STRING].
Declaration
public string StringValue { get; set; }
Property Value
ToggleValue
The value, if the
[CustomFieldDataType][google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType]
is
[TOGGLE][google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType.TOGGLE].
Declaration
public bool ToggleValue { get; set; }
Property Value
ValueCase
Declaration
public CustomFieldValue.Types.Value.ValueOneofCase ValueCase { get; }
Property Value