Class: Google::Apis::DfareportingV3_1::CreativeFieldAssignment
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_1::CreativeFieldAssignment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_1/classes.rb,
generated/google/apis/dfareporting_v3_1/representations.rb,
generated/google/apis/dfareporting_v3_1/representations.rb
Overview
Creative Field Assignment.
Instance Attribute Summary collapse
-
#creative_field_id ⇒ Fixnum
ID of the creative field.
-
#creative_field_value_id ⇒ Fixnum
ID of the creative field value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreativeFieldAssignment
constructor
A new instance of CreativeFieldAssignment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreativeFieldAssignment
Returns a new instance of CreativeFieldAssignment
4121 4122 4123 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 4121 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creative_field_id ⇒ Fixnum
ID of the creative field.
Corresponds to the JSON property creativeFieldId
4114 4115 4116 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 4114 def creative_field_id @creative_field_id end |
#creative_field_value_id ⇒ Fixnum
ID of the creative field value.
Corresponds to the JSON property creativeFieldValueId
4119 4120 4121 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 4119 def creative_field_value_id @creative_field_value_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4126 4127 4128 4129 |
# File 'generated/google/apis/dfareporting_v3_1/classes.rb', line 4126 def update!(**args) @creative_field_id = args[:creative_field_id] if args.key?(:creative_field_id) @creative_field_value_id = args[:creative_field_value_id] if args.key?(:creative_field_value_id) end |