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.



10823
10824
10825
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 10823

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)


10816
10817
10818
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 10816

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>)


10821
10822
10823
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 10821

def user_attribute_ids
  @user_attribute_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10828
10829
10830
10831
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 10828

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