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

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

A value for a CustomField on a resource.

Defined Under Namespace

Classes: Value

Instance Attribute Summary collapse

Instance Attribute Details

#custom_field::String

Returns Required. The custom field for which this is a value. Format: "networks/{network_code}/customFields/{custom_field_id}".

Returns:

  • (::String)

    Required. The custom field for which this is a value. Format: "networks/{network_code}/customFields/{custom_field_id}"



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'proto_docs/google/ads/admanager/v1/custom_field_value.rb', line 32

class CustomFieldValue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represent custom field value type.
  # Next Id: 5
  # @!attribute [rw] dropdown_value
  #   @return [::Integer]
  #     The custom_field_option_id, if the CustomFieldDataType is DROPDOWN.
  # @!attribute [rw] string_value
  #   @return [::String]
  #     The value, if the CustomFieldDataType is STRING.
  # @!attribute [rw] number_value
  #   @return [::Float]
  #     The value, if the CustomFieldDataType is NUMBER.
  # @!attribute [rw] toggle_value
  #   @return [::Boolean]
  #     The value, if the CustomFieldDataType is TOGGLE.
  class Value
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#value::Google::Ads::AdManager::V1::CustomFieldValue::Value

Returns Required. A typed value representation of the value.

Returns:



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'proto_docs/google/ads/admanager/v1/custom_field_value.rb', line 32

class CustomFieldValue
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represent custom field value type.
  # Next Id: 5
  # @!attribute [rw] dropdown_value
  #   @return [::Integer]
  #     The custom_field_option_id, if the CustomFieldDataType is DROPDOWN.
  # @!attribute [rw] string_value
  #   @return [::String]
  #     The value, if the CustomFieldDataType is STRING.
  # @!attribute [rw] number_value
  #   @return [::Float]
  #     The value, if the CustomFieldDataType is NUMBER.
  # @!attribute [rw] toggle_value
  #   @return [::Boolean]
  #     The value, if the CustomFieldDataType is TOGGLE.
  class Value
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end