Class: Google::Apis::DfareportingV2_5::CreativeFieldAssignment

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

Overview

Creative Field Assignment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CreativeFieldAssignment

Returns a new instance of CreativeFieldAssignment.



3727
3728
3729
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3727

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

Instance Attribute Details

#creative_field_idString

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

Returns:

  • (String)


3720
3721
3722
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3720

def creative_field_id
  @creative_field_id
end

#creative_field_value_idString

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

Returns:

  • (String)


3725
3726
3727
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3725

def creative_field_value_id
  @creative_field_value_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3732
3733
3734
3735
# File 'generated/google/apis/dfareporting_v2_5/classes.rb', line 3732

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