Class: Google::Apis::DfareportingV5::CreativeFieldValue
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV5::CreativeFieldValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v5/classes.rb,
lib/google/apis/dfareporting_v5/representations.rb,
lib/google/apis/dfareporting_v5/representations.rb
Overview
Contains properties of a creative field value.
Instance Attribute Summary collapse
-
#id ⇒ Fixnum
ID of this creative field value.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#value ⇒ String
Value of this creative field value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreativeFieldValue
constructor
A new instance of CreativeFieldValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreativeFieldValue
Returns a new instance of CreativeFieldValue.
4738 4739 4740 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4738 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
ID of this creative field value. This is a read-only, auto-generated field.
Corresponds to the JSON property id
4724 4725 4726 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4724 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#creativeFieldValue".
Corresponds to the JSON property kind
4730 4731 4732 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4730 def kind @kind end |
#value ⇒ String
Value of this creative field value. It needs to be less than 256 characters in
length and unique per creative field.
Corresponds to the JSON property value
4736 4737 4738 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4736 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4743 4744 4745 4746 4747 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4743 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @value = args[:value] if args.key?(:value) end |