Class: Google::Apis::DfareportingV5::RemarketingValueAttribute

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

Contains remarketing value attribute information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RemarketingValueAttribute

Returns a new instance of RemarketingValueAttribute.



10857
10858
10859
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 10857

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

Instance Attribute Details

#field_idFixnum

Optional. Field ID in the element. Corresponds to the JSON property fieldId

Returns:

  • (Fixnum)


10850
10851
10852
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 10850

def field_id
  @field_id
end

#user_attribute_idsArray<Fixnum>

Optional. Remarketing user attribute IDs for auto filtering. Corresponds to the JSON property userAttributeIds

Returns:

  • (Array<Fixnum>)


10855
10856
10857
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 10855

def user_attribute_ids
  @user_attribute_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10862
10863
10864
10865
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 10862

def update!(**args)
  @field_id = args[:field_id] if args.key?(:field_id)
  @user_attribute_ids = args[:user_attribute_ids] if args.key?(:user_attribute_ids)
end