Class: Google::Ads::AdManager::V1::CustomField
- Inherits:
-
Object
- Object
- Google::Ads::AdManager::V1::CustomField
- 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
-
#custom_field_id ⇒ ::Integer
readonly
Output only.
-
#data_type ⇒ ::Google::Ads::AdManager::V1::CustomFieldDataTypeEnum::CustomFieldDataType
Required.
-
#description ⇒ ::String
Optional.
-
#display_name ⇒ ::String
Required.
-
#entity_type ⇒ ::Google::Ads::AdManager::V1::CustomFieldEntityTypeEnum::CustomFieldEntityType
Required.
-
#name ⇒ ::String
Identifier.
-
#options ⇒ ::Array<::Google::Ads::AdManager::V1::CustomFieldOption>
Optional.
-
#status ⇒ ::Google::Ads::AdManager::V1::CustomFieldStatusEnum::CustomFieldStatus
readonly
Output only.
-
#visibility ⇒ ::Google::Ads::AdManager::V1::CustomFieldVisibilityEnum::CustomFieldVisibility
Required.
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.
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
.
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.
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.
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.
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}
.
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.
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
.
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
.
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 |