Class: Google::Apis::DfareportingV2_1::CreativeFieldAssignment

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 Field Assignment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CreativeFieldAssignment

Returns a new instance of CreativeFieldAssignment.


3442
3443
3444
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3442

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)

3435
3436
3437
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3435

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)

3440
3441
3442
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3440

def creative_field_value_id
  @creative_field_value_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3447
3448
3449
3450
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 3447

def update!(**args)
  @creative_field_id = args[:creative_field_id] unless args[:creative_field_id].nil?
  @creative_field_value_id = args[:creative_field_value_id] unless args[:creative_field_value_id].nil?
end