Class: Google::Apis::DfareportingV2_1::CreativeGroupAssignment

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

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_idString

ID of the creative group to be assigned. Corresponds to the JSON property creativeGroupId

Returns:

  • (String)

3627
3628
3629
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3627

def creative_group_id
  @creative_group_id
end

#creative_group_numberString

Creative group number of the creative group assignment. Corresponds to the JSON property creativeGroupNumber

Returns:

  • (String)

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