Class: Google::Apis::DfareportingV3_3::CreativeFieldAssignment

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_3/classes.rb,
generated/google/apis/dfareporting_v3_3/representations.rb,
generated/google/apis/dfareporting_v3_3/representations.rb

Overview

Creative Field Assignment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreativeFieldAssignment

Returns a new instance of CreativeFieldAssignment.



4069
4070
4071
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 4069

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#creative_field_idFixnum

ID of the creative field. Corresponds to the JSON property creativeFieldId

Returns:

  • (Fixnum)


4062
4063
4064
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 4062

def creative_field_id
  @creative_field_id
end

#creative_field_value_idFixnum

ID of the creative field value. Corresponds to the JSON property creativeFieldValueId

Returns:

  • (Fixnum)


4067
4068
4069
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 4067

def creative_field_value_id
  @creative_field_value_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4074
4075
4076
4077
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 4074

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