Class: Google::Apis::DfareportingV4::CreativeFieldAssignment
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV4::CreativeFieldAssignment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/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.
Constructor Details
#initialize(**args) ⇒ CreativeFieldAssignment
Returns a new instance of CreativeFieldAssignment.
4620 4621 4622 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4620 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creative_field_id ⇒ Fixnum
ID of the creative field.
Corresponds to the JSON property creativeFieldId
4613 4614 4615 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4613 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
4618 4619 4620 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4618 def creative_field_value_id @creative_field_value_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4625 4626 4627 4628 |
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 4625 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 |