Class: Google::Ads::AdManager::V1::CustomFieldValue::Value

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/ads/admanager/v1/custom_field_value.rb

Overview

Represent custom field value type. Next Id: 5

Instance Attribute Summary collapse

Instance Attribute Details

Returns The custom_field_option_id, if the CustomFieldDataType is DROPDOWN.

Returns:

  • (::Integer)

    The custom_field_option_id, if the CustomFieldDataType is DROPDOWN.



50
51
52
53
# File 'proto_docs/google/ads/admanager/v1/custom_field_value.rb', line 50

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#number_value::Float

Returns The value, if the CustomFieldDataType is NUMBER.

Returns:

  • (::Float)

    The value, if the CustomFieldDataType is NUMBER.



50
51
52
53
# File 'proto_docs/google/ads/admanager/v1/custom_field_value.rb', line 50

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#string_value::String

Returns The value, if the CustomFieldDataType is STRING.

Returns:

  • (::String)

    The value, if the CustomFieldDataType is STRING.



50
51
52
53
# File 'proto_docs/google/ads/admanager/v1/custom_field_value.rb', line 50

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#toggle_value::Boolean

Returns The value, if the CustomFieldDataType is TOGGLE.

Returns:

  • (::Boolean)

    The value, if the CustomFieldDataType is TOGGLE.



50
51
52
53
# File 'proto_docs/google/ads/admanager/v1/custom_field_value.rb', line 50

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end