Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition

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

Overview

Condition on Audience dimension.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition

Returns a new instance of GoogleAdsSearchads360V23ResourcesConversionValueRuleValueRuleAudienceCondition.



16551
16552
16553
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16551

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

Instance Attribute Details

#user_interestsArray<String>

User Interests. Corresponds to the JSON property userInterests

Returns:

  • (Array<String>)


16544
16545
16546
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16544

def user_interests
  @user_interests
end

#user_listsArray<String>

User Lists. Corresponds to the JSON property userLists

Returns:

  • (Array<String>)


16549
16550
16551
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16549

def user_lists
  @user_lists
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16556
16557
16558
16559
# File 'lib/google/apis/searchads360_v23/classes.rb', line 16556

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