Class: Google::Apis::DfareportingV5::CreativeGroupAssignment
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV5::CreativeGroupAssignment
- 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
Creative Group Assignment.
Instance Attribute Summary collapse
-
#creative_group_id ⇒ Fixnum
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.
Constructor Details
#initialize(**args) ⇒ CreativeGroupAssignment
Returns a new instance of CreativeGroupAssignment.
4862 4863 4864 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4862 def initialize(**args) update!(**args) end |
Instance Attribute Details
#creative_group_id ⇒ Fixnum
ID of the creative group to be assigned.
Corresponds to the JSON property creativeGroupId
4855 4856 4857 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4855 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
4860 4861 4862 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4860 def creative_group_number @creative_group_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4867 4868 4869 4870 |
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 4867 def update!(**args) @creative_group_id = args[:creative_group_id] if args.key?(:creative_group_id) @creative_group_number = args[:creative_group_number] if args.key?(:creative_group_number) end |