Class: Google::Ads::AdManager::V1::CustomField

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

Overview

An additional, user-created field on an entity.

Instance Attribute Summary collapse

Instance Attribute Details

#custom_field_id::Integer (readonly)

Returns Output only. Unique ID of the CustomField. This value is readonly and is assigned by Google.

Returns:

  • (::Integer)

    Output only. Unique ID of the CustomField. This value is readonly and is assigned by Google.



57
58
59
60
# File 'proto_docs/google/ads/admanager/v1/custom_field_messages.rb', line 57

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

#data_type::Google::Ads::AdManager::V1::CustomFieldDataTypeEnum::CustomFieldDataType

Returns Required. The data type of the CustomField.

Returns:



57
58
59
60
# File 'proto_docs/google/ads/admanager/v1/custom_field_messages.rb', line 57

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

#description::String

Returns Optional. A description of the custom field. The maximum length is 511 characters.

Returns:

  • (::String)

    Optional. A description of the custom field. The maximum length is 511 characters.



57
58
59
60
# File 'proto_docs/google/ads/admanager/v1/custom_field_messages.rb', line 57

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

#display_name::String

Returns Required. Name of the CustomField. The max length is 127 characters.

Returns:

  • (::String)

    Required. Name of the CustomField. The max length is 127 characters.



57
58
59
60
# File 'proto_docs/google/ads/admanager/v1/custom_field_messages.rb', line 57

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

#entity_type::Google::Ads::AdManager::V1::CustomFieldEntityTypeEnum::CustomFieldEntityType

Returns Required. The type of entity the CustomField can be applied to.

Returns:



57
58
59
60
# File 'proto_docs/google/ads/admanager/v1/custom_field_messages.rb', line 57

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

#name::String

Returns Identifier. The resource name of the CustomField. Format: networks/{network_code}/customFields/{custom_field_id}.

Returns:

  • (::String)

    Identifier. The resource name of the CustomField. Format: networks/{network_code}/customFields/{custom_field_id}



57
58
59
60
# File 'proto_docs/google/ads/admanager/v1/custom_field_messages.rb', line 57

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

#options::Array<::Google::Ads::AdManager::V1::CustomFieldOption>

Returns Optional. The drop-down options for the CustomField.

Only applicable for CustomField with the drop-down data type.

Returns:



57
58
59
60
# File 'proto_docs/google/ads/admanager/v1/custom_field_messages.rb', line 57

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

#status::Google::Ads::AdManager::V1::CustomFieldStatusEnum::CustomFieldStatus (readonly)

Returns Output only. The status of the CustomField.

Returns:



57
58
59
60
# File 'proto_docs/google/ads/admanager/v1/custom_field_messages.rb', line 57

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

#visibility::Google::Ads::AdManager::V1::CustomFieldVisibilityEnum::CustomFieldVisibility

Returns Required. The visibility of the CustomField.

Returns:



57
58
59
60
# File 'proto_docs/google/ads/admanager/v1/custom_field_messages.rb', line 57

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