Class: Google::Apis::DfareportingV2_1::CreativeGroupAssignment
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::CreativeGroupAssignment
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb
Overview
Creative Group Assignment.
Instance Attribute Summary collapse
-
#creative_group_id ⇒ String
ID of the creative group to be assigned.
-
#creative_group_number ⇒ String
Creative group number of the creative group assignment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreativeGroupAssignment
constructor
A new instance of CreativeGroupAssignment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreativeGroupAssignment
Returns a new instance of CreativeGroupAssignment.
3634 3635 3636 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3634 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creative_group_id ⇒ String
ID of the creative group to be assigned.
Corresponds to the JSON property creativeGroupId
3627 3628 3629 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3627 def creative_group_id @creative_group_id end |
#creative_group_number ⇒ String
Creative group number of the creative group assignment.
Corresponds to the JSON property creativeGroupNumber
3632 3633 3634 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3632 def creative_group_number @creative_group_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3639 3640 3641 3642 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3639 def update!(**args) @creative_group_id = args[:creative_group_id] unless args[:creative_group_id].nil? @creative_group_number = args[:creative_group_number] unless args[:creative_group_number].nil? end |